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
{{ message }}
Repository navigation
Commit 9acff70
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,6 @@ If you use this bindings from the git repo, be sure to use
18
18
```js
19
19
{
20
20
// ...
21
-
"bsc-flags": ["-bs-super-errors"],
22
21
"bs-dependencies": [
23
22
// BsReactNative, current "stable" bindings
24
23
"bs-react-native/bs-react-native",
@@ -45,12 +44,12 @@ risk._
45
44
46
45
## ⚠️ ReactNative zero-cost bindings setup with Reason React hooks
47
46
48
-
Things you need to
49
-
- reason-react master/hooks branch (the branch has been merged into master)
50
-
- bs-platform5.0.0
51
-
-remove `"reason": { "react-jsx": 2 }` from your `bsconfig.json`
52
-
- add`"ppx-flags": ["./node_modules/reason-react/_build/default/jsx_ppx/reactjs_jsx_ppx_v3.exe"]` in your `bsconfig.json` (this is because bs-platform 5 doesn't have react-jsx 3 in it
53
-
-add into all you react files `[@bs.config {jsx: 3}];` at the top
0 commit comments