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

Commit e3dcc3f

Browse files
mununkicristianoc
andauthored
Update jsx v4 doc (#659)
* update jsx v4 doc - about not adding `@rescript/react` into v3-deps * update note * Update JSXV4.md Co-authored-by: Cristiano Calcagno <[email protected]>
1 parent 19c7071 commit e3dcc3f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cli/JSXV4.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ To build certain dependencies in V3 compatibility mode, whatever the version use
2929

3030
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.
3131

32+
> Note: do not add @rescript/react to the v3-dependencies, or it will cause a cyclic dependencies error.
33+
3234
### Classic and Automatic Mode
3335

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

0 commit comments

Comments
 (0)