Skip to content

Commit 48c0c12

Browse files
committed
update JSX4 spec doc
1 parent 3553b8b commit 48c0c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/JSXV4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ function has the name of the enclosing module/file.
358358
// is transformed to
359359
360360
// v4
361-
ReactDOMRe.createElement(ReasonReact.fragment, [comp1, comp2, comp3])
361+
React.createElement(React.fragment, {children: [comp1, comp2, comp3]})
362362
363363
// v4 @ new jsx transform
364364
React.jsxs(React.jsxFragment, {children: [comp1, comp2, comp3]})

0 commit comments

Comments
 (0)