Animated: Omit allowlist in avoidStateUpdateInAnimatedPropsMemo Experiment (#50232)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/50232

While reviewing the `avoidStateUpdateInAnimatedPropsMemo` experiment, I noticed that the control and test groups were invoking `areCompositeKeysEqual` differently:

- Test group was passing in `allowlist`.
- Control group was not passing in `allowlist`.

Passing it in is technically more correct, but let's restore the control group behavior for now to isolate the tested changes.

Changelog:
[Internal]

Reviewed By: javache

Differential Revision: D71746745

fbshipit-source-id: aa34db0532ef53ead08bbd632aab0994b31b9340
This commit is contained in:
Tim Yung
2025-03-26 08:07:53 -07:00
committed by Facebook GitHub Bot
parent 4789744164
commit 2abe623d9f
@@ -91,8 +91,7 @@ export function createAnimatedPropsMemoHook(
const prev = prevRef.current;
const next =
prev != null &&
areCompositeKeysEqual(prev.compositeKey, compositeKey, allowlist)
prev != null && areCompositeKeysEqual(prev.compositeKey, compositeKey)
? prev
: {
compositeKey,