Skip to content

Commit cc3d9c5

Browse files
committed
comment
1 parent 2043730 commit cc3d9c5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/CellRendererComponent.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,11 @@ function CellRendererComponent<T>(props: Props<T>) {
129129
} = propsRef.current;
130130

131131
useEffect(() => {
132-
// NOTE: keep an eye on reanimated LayoutAnimation refactor:
132+
// NOTE: Keep an eye on reanimated LayoutAnimation refactor:
133133
// https://github.com/software-mansion/react-native-reanimated/pull/3332/files
134+
// We might have to change the way we register/unregister LayouAnimations:
135+
// - get native module: https://github.com/software-mansion/react-native-reanimated/blob/cf59766460d05eb30357913455318d8a95909468/src/reanimated2/NativeReanimated/NativeReanimated.ts#L18
136+
// - register layout animation for tag: https://github.com/software-mansion/react-native-reanimated/blob/cf59766460d05eb30357913455318d8a95909468/src/reanimated2/NativeReanimated/NativeReanimated.ts#L99
134137
if (!propsRef.current.enableLayoutAnimationExperimental) return;
135138
const tag = findNodeHandle(viewRef.current);
136139

0 commit comments

Comments
 (0)