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

refactor: add support for web without Babel/SWC #1741

Merged
merged 1 commit into from
Feb 18, 2024
Merged

Conversation

joshsmith
Copy link
Contributor

  • refactor: add support for web without Babel/SWC
  • refactor: add exhaustive deps rules to eslintrc for Reanimated hooks
  • fix: add missing metro-react-native-babel-preset (breaking linting)

Please provide enough information so that others can review your pull request:

The changes simply involved looking through each use of the necessary Reanimated hooks mentioned in #1740 and replacing them with optional dependency arrays or fixing the dependency arrays to use the new exhaustive deps rule recommended by Reanimated in their documentation. You simply need to review that these changes were inclusive.

Motivation

Closes #1740

- refactor: add support for web without Babel/SWC
- refactor: add exhaustive deps rules to eslintrc for Reanimated hooks
- fix: add missing metro-react-native-babel-preset (breaking linting)
@gorhom
Copy link
Owner

gorhom commented Feb 18, 2024

thanks @joshsmith for submitting this PR <3

@gorhom gorhom added the v5 label Feb 18, 2024
@gorhom gorhom merged commit d620494 into gorhom:v5 Feb 18, 2024
1 check failed
}, [
_providedContainerHeight,
animatedContainerHeight.value,
animatedHandleHeight,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

May I ask when shall we use .value?

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.

3 participants