Menu

1 / 2

I rewrote my app's animation layer because I misread one error message

DEV Community: reactnative·Alauddin Khan·3 days ago
#xRXWiiqc
#devtoreactnative#devto#dev#native#react
Long article (1356 words) — no AI summary yet.
Reading 0:00
15s threshold

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.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.