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

Fix StrictMode warning #159

Open
aralroca opened this issue Jun 11, 2019 · 1 comment
Open

Fix StrictMode warning #159

aralroca opened this issue Jun 11, 2019 · 1 comment

Comments

@aralroca
Copy link

Using React.StrictMode is throwing this warning:

findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of ReactSwipe which is inside StrictMode. Instead, add a ref directly to the element you want to reference.

    in ul (created by ReactSwipe)
    in ReactSwipe (created by Carousel)

Should be fixed to allow Concurrent mode in the future React releases.

@Cyberlane
Copy link
Collaborator

I will take a look into it, however if you know the issue I would of course be happy to accept a PR. Otherwise, please bare with me, and I will have it resolved as soon as I can.

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