Skip to content

Commit be38a53

Browse files
committed
chore: add new arch support to docs
Highlights: - Added version matrix to docs - Added note about new arch support
1 parent 0472849 commit be38a53

File tree

2 files changed

+14
-8
lines changed

2 files changed

+14
-8
lines changed

docs/docs/01-getting-started.mdx

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,23 @@ import TabItem from '@theme/TabItem';
1010

1111
What follows within the Fundamentals section of this documentation is a tour of the most important aspects of React Native Header. It should cover enough for you to know how to begin building.
1212

13+
## New Architecture
14+
15+
React Native Header supports the [New Architecture](https://reactnative.dev/architecture/landing-page) beginning from version `1.0.0`. The legacy architecture will not be supported in the future as it has been deprecated by React Native.
16+
1317
## Compatibility
1418

1519
Before using this package, please make sure that you install the correct version of this library for your project. Here is the dependency matrix:
1620

1721
<br />
1822

19-
| react-native-header | react-native | react-native-reanimated | react-native-safe-area-context | @shopify/flash-list |
20-
| ------------------- | ------------ | ----------------------- | ------------------------------ | ------------------- |
21-
| 0.6.x | >= 0.65 | >= 2.11.0 | >= 4.1.0 | N/A |
22-
| 0.7.x | >= 0.65 | >= 2.0.0 | >= 4.1.0 | N/A |
23-
| 0.8.x | >= 0.65 | >= 2.0.0 | >= 4.1.0 | N/A |
24-
| >= 0.9.x | >= 0.65 | >= 2.0.0 | >= 4.1.0 | >= 3.2.0 |
23+
| react-native-header | react-native | react-native-reanimated | react-native-safe-area-context | @shopify/flash-list | react-native-worklets |
24+
| ------------------- | ------------ | ----------------------- | ------------------------------ | ------------------- | --------------------- |
25+
| 0.6.x | >= 0.65 | >= 2.11.0 | >= 4.1.0 | N/A | N/A |
26+
| 0.7.x | >= 0.65 | >= 2.0.0 | >= 4.1.0 | N/A | N/A |
27+
| 0.8.x | >= 0.65 | >= 2.0.0 | >= 4.1.0 | N/A | N/A |
28+
| >= 0.9.x | >= 0.65 | >= 2.0.0 | >= 4.1.0 | >= 3.2.0 | N/A |
29+
| >= 1.0.0 | >= 0.81 | >= 4.0.0 | >= 4.1.0 | >= 3.2.0 | ^0.5.1 |
2530

2631
## Pre-requisites
2732

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,9 @@
8888
"@shopify/flash-list": "*",
8989
"react": "*",
9090
"react-native": "*",
91-
"react-native-reanimated": ">=2.0.0",
92-
"react-native-safe-area-context": "*"
91+
"react-native-reanimated": ">=4.0.0",
92+
"react-native-safe-area-context": "*",
93+
"react-native-worklets": "*"
9394
},
9495
"engines": {
9596
"node": ">= 16.0.0"

0 commit comments

Comments
 (0)