4 ms·
How would that look in lua with a custom function or class instead of div, input, etc? To me JSX and hyperscript are both about the same thing. JSX gets compil
by postalrat 3y ago
How would that look in lua with a custom function or class instead of div, input, etc?
To me JSX and hyperscript are both about the same thing. JSX gets compiled to a bunch of createElement calls that looks just like hyperscript. I prefer the look of JSX over hyperscript.
- wruza 3y agoThe same way as in jsx div {…} Comp {…} Ns.Comp {…}