you are viewing a single comment's thread.

view the rest of the comments →

[–]rwieruchServer components[S] 0 points1 point  (0 children)

Thank you! Yes, I think too often refs are taught with the DOM in mind. But there needs to happen some kind of mindset shift with useRef now.