Skip to content

Commit 5ed27fe

Browse files
committed
website: fix/upgrade jsx3 migration guide a little
1 parent 4b150eb commit 5ed27fe

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

website/docs/migration/jsx3.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ So please:
5353

5454
- Ensure your project is full jsx3 (`bsconfig.json`:
5555
`"reason": {"react-jsx": 3},`)
56-
- Replace `bs-react-native` by `bs-react-native-jsx3` in your `bsconfig.json`
57-
(or `reason-react-native-monorepo/bs-react-native-jsx3` for git users, check
58-
the
56+
- Replace `bs-react-native` by `bs-react-native-jsx3-compat` in your
57+
`bsconfig.json` (or `reason-react-native-monorepo/bs-react-native-jsx3-compat`
58+
for git users, check the
5959
[git monorepo trick](https://github.com/reasonml-community/reason-react-native#-usage-from-git-repo)
6060
if necessary)
6161

@@ -178,7 +178,7 @@ with
178178
179179
```
180180

181-
At this point, you should be able to drop some
181+
You should also be able to drop some
182182
`let component = ReasonReact.statelessComponent...` too, since some won't be
183183
used anymore thanks to the last removal step we did.
184184

@@ -188,4 +188,5 @@ Now rely on refmt to get a cleaner code and you are good to go!
188188

189189
Do not hesitate to share more tips & tricks to ease the migration!
190190

191+
🙏
191192
[Don't be shy!](https://github.com/reasonml-community/reason-react-native/issues/new?title=JSX3+migration+trick&body=Hey%20I%20have%20a%20trick%20that%20I%20can%20share%20with%20you%20to%20ease%20jsx3%20migration%3A)

0 commit comments

Comments
 (0)