I spent a long day concluding that react-native-reanimated was incompatible
with React Native 0.83.1. I then rewrote an entire app's animation layer onto
React Native's built-in Animated to work around it.
The library was never incompatible. I had misread the error message, and the
error message deserves a good share of the blame.
Here is the whole thing, including the part where a maintainer told me I was
wrong about the fix too, and was right.
The symptom
React Native 0.83.1, New Architecture, Hermes. [email protected]
with [email protected] . The app built, installed, launched — and
died before a single screen rendered:
TypeError: Cannot read property 'bytecode' of undefined at installUnpackers (react-native-worklets/.../NativeWorklets.native.ts)
Enter fullscreen mode
Exit fullscreen mode
No app code of mine was in the stack. The crash was inside the library's own
bootstrap.
Why I concluded "incompatible"
Read that error as a working developer under time pressure.…