Skip to content

Single migrate page. #643

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 10, 2023
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion data/sidebar_react_latest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Overview": [
"introduction",
"installation",
"migrate-from-v3"
"migrate-react"
],
"Main Concepts": [
"elements-and-jsx",
Expand Down
2 changes: 1 addition & 1 deletion data/sidebar_react_v0100.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Overview": [
"introduction",
"installation",
"migrate-from-reason-react"
"migrate-react"
],
"Main Concepts": [
"elements-and-jsx",
Expand Down
2 changes: 1 addition & 1 deletion 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-from-v3)
**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)

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Migrate from JSX v3
description: "Migrate from JSX v3"
canonical: "/docs/react/latest/migrate-from-v3"
canonical: "/docs/react/latest/migrate-react"
---

# Migrate from JSX v3
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Migrate from ReasonReact
description: "Migrate from ReasonReact"
canonical: "/docs/react/latest/migrate-from-reason-react"
canonical: "/docs/react/latest/migrate-react"
---

# Migrate from ReasonReact
Expand Down