You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Reanimated warning: "Dependencies should only be used on the web" from useAnimatableValue #613
With Reanimated 4.7, every app that renders a Sortable.Grid logs this warning on native:
WARN [Reanimated] Dependencies should only be used on the web and are always ignored on native. Check DevTools to see the offending code.
The stack points into the library: useAnimatableValue calls useDerivedValue with a dependency array (src/integrations/reanimated/hooks/useAnimatableValue.ts):
Reanimated's native useDerivedValue ignores the dependency array and warns once (useDerivedValue.native.ts, warnOnce). The warning appears on app start and in Jest. Nothing in user code passes dependencies.
Stack (Jest):
at useAnimatableValue (node_modules/react-native-sortables/src/integrations/reanimated/hooks/useAnimatableValue.ts:22:25)
at SortableGridInner (node_modules/react-native-sortables/src/components/SortableGrid.tsx:118:39)
Expected behavior
No warning from library code. Dropping the dependency array on native should not change behavior, since Reanimated ignores it there.
Activity
release: 1.10.1
MatiPl01 commentedon Sep 26, 2026
🎉 This issue has been resolved in version 1.10.1 🎉
The release is available on:
Your semantic-release bot 📦🚀