Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

useRef is quite useful when you want to use something externally that has it own lifecycle. And your only interaction is sporadic. Think animation.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: