4 ms·
And JSX is not a string templating system at all.
by spion 3y ago
And JSX is not a string templating system at all.
- hajile 3y agoIt's a macro, but you can vary the function that handles the output. The builtin Server-side React renderer outputs an HTML string instead of a vdom.
- spion 3y agoThe final output is not what matters for this classification.
- nitwit005 3y agoYou could make it output HTML instead of DOM elements fairly easily, and that's what server side renderers do.
- spion 3y agoIts still a structural template system, even if the output is a string