Skip to content

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
}, [
_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