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

React 18 and Tweens #69

Open
paulieDOTjs opened this issue Jul 13, 2022 · 5 comments
Open

React 18 and Tweens #69

paulieDOTjs opened this issue Jul 13, 2022 · 5 comments

Comments

@paulieDOTjs
Copy link

From animations do not work anymore after updating to React 18.

@bitworking
Copy link
Owner

Sorry, I was busy with other things the last months. Hmm, I just updated every package locally and tried it with React 18 and Strict Mode in the local Next.js. It runs without problems on my side. I have to do some other tests.

Does it work for you if you disable Strict Mode?

@bitworking
Copy link
Owner

Ok, I see it now. I first didn't saw that it's only not working for "from" animations. Will have a look at this, thank you.

@bitworking
Copy link
Owner

A quick fix would be to not use the Strict Mode: https://stackblitz.com/edit/react-ts-fmarqq?file=App.tsx

@paulieDOTjs
Copy link
Author

Yes, that would be a quick fix, but there are instances where one would want to use Strict Mode

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

3 participants