Skip to main content
Version: 0.10.0

Compatibility

New Architecture (Fabric)

React Native ExecuTorch supports only the New Architecture of React Native.

react-native-executorch

React Native ExecuTorchReact Native version
0.780.790.800.810.820.830.840.850.86
0.8.x
no
no
no
yes
yes
yes
yes
yes
untested†
0.9.x
no
no
no
yes
yes
yes
yes
yes
untested†
0.10.x
no
no
no
no*
no*
yes
yes
yes
yes

* react-native-executorch 0.10 needs react-native-worklets >=0.10.0 <0.13.0, and worklets 0.10 is the first release to serialize an ArrayBufferView natively (reanimated #9475); older ones rebuild the view over its whole backing buffer, losing byteOffset and length. Worklets 0.10 in turn requires React Native 0.83+, which is what rules out 0.81 and 0.82.

Not verified. 0.8.x and 0.9.x were released before React Native 0.86 and are maintained on the legacy dist-tag only.

Expo SDK

npx expo install picks the react-native-worklets an SDK bundles, which is older than this library needs on SDK 55 and 56. Both work once you ask for the versions below explicitly — Reanimated pins worklets exactly, so it moves with it.

Expo SDKReact NativeBundled workletsreact-native-executorch 0.10.x
54
0.810.5.1
no
55
0.830.7.4
needs explicit versions
56
0.850.8.3
needs explicit versions
57
0.860.10.1
yes

On SDK 55 and 56, install both:

npm install react-native-worklets@^0.10.0 react-native-reanimated@^4.5.0

SDK 54 is React Native 0.81, below what worklets 0.10 accepts, so no combination of versions works there.