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
docs: Auto-generated compatibility tables from the compatibility.json file (#8360)
## Summary
This PR removes all hardcoded compatibility tables in the reanimated
docs and replaces them with auto-generated ones based on the
`compatibility.json` file in the `react-native-reanimated` package. I
extended the `compatibility.json` file to contain paper compatibility
versions as well so that everything is kept in a single place.
It also adds the v2 compatibility table (created from the old v3's
compat table part containing info about v2) and leaves just v4's info at
the v4 doc page (removes v3 part), leaves just v3 info on the v3 page
(removes v2 info).
## Showcase
https://github.com/user-attachments/assets/00fc84dd-ab74-4a51-9caa-73ee57a55036
`react-native-worklets` is a dependency of Reanimated 4. However, Reanimated 3 will not work with `react-native-worklets` installed. Make sure to have a correct version of `react-native-worklets` installed when using Reanimated 4.
Reanimated 2 won't receive support for newest React Native versions. To get the latest React Native features and updates, please upgrade to the newer version of Reanimated.
Reanimated 2 won't receive support for newest React Native versions. To get the latest React Native features and updates, upgrade to Reanimated 3.
38
-
:::
10
+
<ReanimatedCompatibilityarchitecture="paper" />
39
11
40
12
### Supported React Native versions on the New Architecture (Fabric)
41
13
42
14
To use Reanimated with [the experimental New Architecture](https://reactnative.dev/docs/the-new-architecture/landing-page), update the package to at least version 3.0.0. Due to the vast number of breaking-changes related to the New Architecture in each React Native version, as a rule of thumb Reanimated supports the latest stable version of React Native.
43
15
44
16
Reanimated supports the [bridgeless mode](https://github.com/reactwg/react-native-new-architecture/discussions/154).
0 commit comments