You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
《React 思維進化》讀書會第二組 2-4、2-5
簡報
2-4 JSX 根本就不是在 JavaScript 中寫 HTML
JSX 不是在 JavaScript 裡面寫 HTML
JSX 本身是語法糖(Syntactic Sugar)
JSX 本質上就是
React.createElement
Babel 是一種 Transpiler(轉譯)
Babel 的轉譯時機是 Build Time(構建階段)
2-5 JSX 的語法規則脈絡與畫面渲染的實用技巧
使用 index 當 key 會有非預期錯誤
JSX 只能有一個根節點
QA
Beta Was this translation helpful? Give feedback.
All reactions