Skip to content

Commit c310053

Browse files
authored
Update README.md
1 parent 374836c commit c310053

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,20 @@ Android and [Web](https://github.com/necolas/react-native-web) apps.
1515

1616
If you use this bindings from the git repo, be sure to use
1717

18-
`"bs-react-native/bs-react-native"` as a `bs-dependencies` instead if just
19-
`"bs-react-native"`.
18+
```js
19+
{
20+
// ...
21+
"bsc-flags": ["-bs-super-errors"],
22+
"bs-dependencies": [
23+
// BsReactNative, current "stable" bindings
24+
"bs-react-native/bs-react-native",
25+
// ReactNative, WIP on zero-cost bindings (require bs-platform 5.0.0 & and reason-react hooks branch)
26+
"bs-react-native/bs-react-native-next"
27+
}
28+
}
29+
```
30+
31+
Did you notice that this way, you can use both bindings to slowly migrate?
2032

2133
## Getting Started
2234

0 commit comments

Comments
 (0)