News for hackers. Stuff that matters.
Re:Frustrations with React Hooks by bcyn on Tuesday September 10, 2019 @11:26AM (#20929245)
useRef was designed for this purpose: https://reactjs.org/docs/hooks-reference.html#useref

If you ran into something that isn't quite covered by this hook, I'm also curious! Can you write a minimal example in codesandbox and share?

There are no comments on this comment yet.