DEV Community

Discussion on: The useRef() hook in React!

Collapse
 
jennasys profile image
JennaSys

Nice concise write-up! I usually use controlled components and useState but I could see where useRef might be a better fit in many cases.

I did a Python version of your demo code:
github.com/JennaSys/pyuseref/blob/...