Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: A string ref, "refId", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref #75

Open
regularpersonn opened this issue Jun 17, 2021 · 1 comment

Comments

@regularpersonn
Copy link

I was wondering if this is something to be concerned about? Looks like this content could be upgraded to use the more up to date ref mechanisms listed here:

https://reactjs.org/link/strict-mode-string-ref

@leon-marzahn
Copy link

I've added a version of this library to my library collection that has some added improvements already (Sadly no documentation yet, i'm working on it though)

https://github.com/leon-marzahn/marzahn-dev/tree/main/libs/react/scroll-anchor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants