Skip to content

Commit 3f454e0

Browse files
committed
update JSXV4 spec
1 parent de5862f commit 3f454e0

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-
React.createElement(React.fragment, {children: [comp1, comp2, comp3]})
361+
React.createElementVariadic(React.fragment, {}, [comp1, comp2, comp3])
362362
363363
// v4 @ new jsx transform
364364
React.jsxs(React.jsxFragment, {children: [comp1, comp2, comp3]})

0 commit comments

Comments
 (0)