Post
I had trouble understanding this so I wrote an example of the problem as I understand it in a CodeSandbox: codesandbox.io/p/sandbox/ke...
codesandbox.iocodesandbox.io
Working on adding it to the docs here: github.com/reactjs/reac...
github.comAdd troubleshooting section for hanging refs when using ref callback cleanup functions by mattcarrollcode · Pull Request #7372 · reactjs/react.devInspired by this post
Preview
0 reposts1 like
No replies yet.