Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Update jsx v4 doc #659

Merged
merged 3 commits into from
Sep 27, 2022
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
2 changes: 2 additions & 0 deletions cli/JSXV4.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ To build certain dependencies in V3 compatibility mode, whatever the version use

In V3 compatibility mode, the listed dependencies are built in V3 mode, and in addition `-open ReatcV3` is added to the compiler options, so that the `ReactV3` compatibility module in rescript-react is used.

> Note: do not add @rescript/react to the v3-dependencies, or it will cause a cyclic dependencies error.

### Classic and Automatic Mode

Classic mode is the default and generates calls to `React.createElement` just as with V3.
Expand Down