mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: This diff sets up an experiment to use `useDebouncedEffect` for managing animated props lifecycle. Changelog: [Internal] bypass-github-export-checks Facebook This diff also defaults to `useDebouncedEffect` for managing animated props lifecycle in IGVR and FBVR. Based on local tracing of FBVR, `useDebouncedEffect` results in **~19ms faster visual completion**. Before we executed **54.2 ms** of passive effects vs **35.6 ms** after. Reviewed By: josephsavona, rubennorte Differential Revision: D60834116 fbshipit-source-id: 35d5eb4c4be18e716f96129911e66eaffe54bb17