Skip to content

Commit

Permalink
fix getting started for new arch
Browse files Browse the repository at this point in the history
  • Loading branch information
hannojg committed Jul 16, 2024
1 parent 9e247b2 commit 50362d5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ react-native-filament is a powerful 3D rendering engine for React Native. It fea
* 📹 Rendering happens on a separate thread, nothing blocks the JS thread
* 🏀 Comes with a physics engine as well, wrapping [bullet3](https://github.com/bulletphysics/bullet3)
* 📦 Easy to use declarative API
* ✅ Supports old and new arch

### Installation

Expand Down
28 changes: 25 additions & 3 deletions docs/docs/guides/GETTING_STARTED.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,31 @@ npm i react-native-filament

2. `react-native-filament` depends on [`react-native-worklets-core`](https://github.com/margelo/react-native-worklets-core):

```sh
npm i react-native-worklets-core
```
<Tabs
groupId="rnwcInstallation"
defaultValue="old_arch"
values={[
{label: 'Old Arch', value: 'old_arch'},
{label: 'New arch', value: 'new_arch'}
]}>
<TabItem value="old_arch">
```sh
npm i react-native-worklets-core
```

</TabItem>

<TabItem value="new_arch">
On the new arch you need to use the beta version of `react-native-worklets-core`:

```sh
npm i react-native-worklets-core@beta
```

</TabItem>
</Tabs>



3. Update your pods:

Expand Down

0 comments on commit 50362d5

Please sign in to comment.