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

added dependency List to ReText 4 RNweb animations #512

Merged
merged 1 commit into from Oct 13, 2023

Conversation

SSOURABH58
Copy link
Contributor

So,
While Using ReText with RNweb, It's required to pass a dependency List to useAnimatedProps and some other hooks
as in the dox Web without the Babel plugin

A simple change to /src/ReText.tsx

  const animatedProps = useAnimatedProps(() => {
      return {
        text: text.value,
  ...
      } as any;
 }, [text]);  // <-- added this to the  dependency List [text] that's it

hope it gets merged soon,
currently using it vie yarn patch packages

@wcandillon wcandillon merged commit 99b3fae into wcandillon:master Oct 13, 2023
1 check passed
wcandillon added a commit that referenced this pull request Oct 13, 2023
wcandillon added a commit that referenced this pull request Oct 13, 2023
@wcandillon
Copy link
Owner

🎉 This PR is included in version 18.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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 this pull request may close these issues.

None yet

2 participants