Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.
Merged
Changes from 1 commit
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 that `@rescript/react` is not necessary adding in the `v3-dependencies`, or it would make the cyclic dependencies error.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! eb89eb0


### Classic and Automatic Mode

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