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

useIsomorphicLayoutEffect #377

Closed
streamich opened this issue Jun 12, 2019 · 3 comments · Fixed by #451
Closed

useIsomorphicLayoutEffect #377

streamich opened this issue Jun 12, 2019 · 3 comments · Fixed by #451
Labels

Comments

@streamich
Copy link
Owner

https://github.com/reduxjs/react-redux/blob/master/src/hooks/useSelector.js#L14-L15

@streamich
Copy link
Owner Author

🎉 This issue has been resolved in version 9.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@aleclarson
Copy link

This implementation is broken in React Native, causing useEffect to always be used.

More info: reduxjs/react-redux#1444

@aleclarson
Copy link

FWIW, I just published react-layout-effect as a solution.

https://www.npmjs.com/package/react-layout-effect

Maybe react-use should depend on and re-export it?

I'll add you as a maintainer if that's what you decide.

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

Successfully merging a pull request may close this issue.

2 participants