Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pages/docs/react/latest/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Then add the following setting to your existing `bsconfig.json`:

> The [new jsx transform](https://ko.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) of ReactJS is available with `mode: "automatic"`.

**Note** JSX v4 is newly introduced with the idomatic record-based representation of component. If your dependecies are not compatible with v4 yet, then you can use v3 in the same project. Check out the details in [Migrate from v3](/docs/react/latest/migrate-react)
**Note** JSX v4 is newly introduced with the idiomatic record-based representation of a component. If your dependencies are not compatible with v4 yet, then you can use v3 in the same project. Check out the details in [Migrate from v3](/docs/react/latest/migrate-react)

To test your setup, create a new `.res` file in your source directory and add the following code:

Expand All @@ -44,7 +44,7 @@ Now run `npx rescript` and you should see a successful build.

## Exposed Modules

After a successful installation, `@rescript/react` will make following modules available in your project's global scope:
After a successful installation, `@rescript/react` will make the following modules available in your project's global scope:

- `React`: Bindings to React
- `ReactDOM`: Bindings to the ReactDOM
Expand Down