Skip to content

RN: Enable enableAnimatedAllowlist and enableAnimatedPropsMemo#47502

Closed
yungsters wants to merge 1 commit into
facebook:mainfrom
yungsters:export-D65645985
Closed

RN: Enable enableAnimatedAllowlist and enableAnimatedPropsMemo#47502
yungsters wants to merge 1 commit into
facebook:mainfrom
yungsters:export-D65645985

Conversation

@yungsters
Copy link
Copy Markdown
Contributor

Summary:
Enables the two following feature flags:

  • enableAnimatedAllowlist
  • enableAnimatedPropsMemo

The former enables the use of an experimental optimization to provide unstable_createAnimatedComponentWithAllowlist and useAnimatedProps an allowlist of props that reduces the set of props iterated over by to find props with AnimatedNode (e.g. Animated.Value) instance values.

The latter enables improved memoization logic in Animated so that its intenal state is invalidated less frequently, reducing the cost of updating Animated components.

Changelog:
[General][Changed] - Optimized the performance of updating Animated components.

Differential Revision: D65645985

Summary:
Enables the two following feature flags:

- `enableAnimatedAllowlist`
- `enableAnimatedPropsMemo`

The former enables the use of an experimental optimization to provide `unstable_createAnimatedComponentWithAllowlist` and `useAnimatedProps` an allowlist of props that reduces the set of props iterated over by to find props with `AnimatedNode` (e.g. `Animated.Value`) instance values.

The latter enables improved memoization logic in `Animated` so that its intenal state is invalidated less frequently, reducing the cost of updating `Animated` components.

Changelog:
[General][Changed] - Optimized the performance of updating `Animated` components.

Differential Revision: D65645985
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 8, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D65645985

yungsters added a commit to yungsters/react-native that referenced this pull request Nov 8, 2024
…acebook#47502)

Summary:

Enables the two following feature flags:

- `enableAnimatedAllowlist`
- `enableAnimatedPropsMemo`

The former enables the use of an experimental optimization to provide `unstable_createAnimatedComponentWithAllowlist` and `useAnimatedProps` an allowlist of props that reduces the set of props iterated over by to find props with `AnimatedNode` (e.g. `Animated.Value`) instance values.

The latter enables improved memoization logic in `Animated` so that its intenal state is invalidated less frequently, reducing the cost of updating `Animated` components.

Changelog:
[General][Changed] - Optimized the performance of updating `Animated` components.

Reviewed By: rozele

Differential Revision: D65645985
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Nov 8, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in f0ffcd4.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @yungsters in f0ffcd4

When will my fix make it into a release? | How to file a pick request?

@yungsters yungsters deleted the export-D65645985 branch March 13, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants