We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The implementation of useIsomorphicLayoutEffect leads to useEffect being used in React Native where useLayoutEffect is intended.
useIsomorphicLayoutEffect
useEffect
useLayoutEffect
More info here: reduxjs/react-redux#1444
Formik should be calling useLayoutEffect in React Native.
None yet, as I'm not sure how this bug affects Formik specifically.
Copy the solution from reduxjs/react-redux#1444 or use react-layout-effect to share code with other libraries (eg: react-spring will be using it).
react-spring
If you decide to use react-layout-effect, let me know and I'll add you as a maintainer.
react-layout-effect
N/A, all versions affected
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 Bug report
Current Behavior
The implementation of
useIsomorphicLayoutEffect
leads touseEffect
being used in React Native whereuseLayoutEffect
is intended.More info here: reduxjs/react-redux#1444
Expected behavior
Formik should be calling
useLayoutEffect
in React Native.Reproducible example
None yet, as I'm not sure how this bug affects Formik specifically.
Suggested solution(s)
Copy the solution from reduxjs/react-redux#1444 or use react-layout-effect to share code with other libraries (eg:
react-spring
will be using it).If you decide to use
react-layout-effect
, let me know and I'll add you as a maintainer.Your environment
N/A, all versions affected
The text was updated successfully, but these errors were encountered: