Re:Proton Native – React Native for the desktop
by mlsarecmg on Thursday May 03, 2018 @03:28AM
(#16984023)
JSX gets transpiled, not parsed. The effort is completely on the tooling side, there's no loading effort that changes JSX into functions. The main difference between your two snippets is that one is declarative and the other is imperative. The declarative piece can reflect state and react to changes, the other can't - you do that manually.
[ Parent
| on HN ]
There are no comments on this comment yet.