Skip to content

在什么场景下组件用 h 函数 或者 jsx #3931 #6945

Answered by Justineo
Miofly asked this question in Help/Questions
Discussion options

You must be logged in to vote

JSX 需要编译工具链支持,h 函数是运行时的,直接用 h 写 HyperScript 不需要编译。

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Miofly
Comment options

@lvboda
Comment options

Answer selected by Miofly
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants