Skip to content

Commit eb842b1

Browse files
rescript.json in react docs
1 parent 76c97c2 commit eb842b1

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

pages/docs/react/latest/beyond-jsx.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ JSX is a syntax sugar that allows us to use React components in an HTML like man
1414

1515
**Note:** This section requires knowledge about the low level apis for [creating elements](./elements-and-jsx#creating-elements-from-component-functions), such as `React.createElement` or `ReactDOM.createDOMElementVariadic`.
1616

17-
> **Note:** This page assumes your `bsconfig.json` to be set to `"jsx": { "version": 4 }` to apply the right JSX transformations.
17+
> **Note:** This page assumes your `rescript.json` to be set to `"jsx": { "version": 4 }` to apply the right JSX transformations.
1818
1919
## Component Types
2020

pages/docs/react/latest/elements-and-jsx.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Elements are the smallest building blocks of React apps. This page will explain
1212

1313
</Intro>
1414

15-
> **Note:** This page assumes your `bsconfig.json` to be set to `"jsx": { "version": 4 }`, otherwise your JSX will not be transformed to its React specific form.
15+
> **Note:** This page assumes your `rescript.json` to be set to `"jsx": { "version": 4 }`, otherwise your JSX will not be transformed to its React specific form.
1616
1717
## Element Basics
1818

pages/docs/react/latest/extensions-of-props.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ canonical: "/docs/react/latest/spread-props"
66

77
# Extensions of Props
88

9-
> **Note:** This page assumes your `bsconfig.json` to be set to `"jsx": { "version": 4 }` to apply the right JSX transformations.
9+
> **Note:** This page assumes your `rescript.json` to be set to `"jsx": { "version": 4 }` to apply the right JSX transformations.
1010
1111
## Spread props
1212

pages/docs/react/latest/installation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Add following dependency to your ReScript project (in case you don't have any pr
1717
npm install @rescript/react
1818
```
1919

20-
Then add the following setting to your existing `bsconfig.json`:
20+
Then add the following setting to your existing `rescript.json`:
2121

2222
```json
2323
{

pages/docs/react/latest/migrate-react.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ JSX v4 introduces a new idiomatic record-based representation of components whic
1010

1111
## Configuration
1212

13-
Remove the existing JSX configuration from `bsconfig.json`:
13+
Remove the existing JSX configuration from `rescript.json`:
1414

1515
```json
1616
{

0 commit comments

Comments
 (0)