
Thinking in React
The React Show
00:00
Thinking in React
The cool thing that I didn't expect was the code part that this let me write better code. So, yeah, if you want to, you know, use refs in your own code, I think it's actually a really useful technique. It might be worth exploring just creating some like throw away applications to mess around with refs and understand them better so that you can figure out when to use them. But yeah, I'd love to hear more from all of you. Have you ever messed around with storing state inside refs like this or decoupling state updates from when reactor renders? Do you have any other ideas of how this technique could be useful or other applications for it
Transcript
Play full episode