React without JSX
Closed this issue · 0 comments
pluscai commented
React without JSX
JSX
是个语法糖(syntactic sugar),不是必须的,如果你不想引入编译工具,你完全可以用React.createElement
代替JSX
Closed this issue · 0 comments
JSX
JSX
是个语法糖(syntactic sugar),不是必须的,如果你不想引入编译工具,你完全可以用React.createElement
代替JSX