2 ms·
> But this seems like a much nicer way of doing it than JSX. Note that there is no requirement to use JSX, JSX is just syntactic sugar for the underlying funct
by masklinn 10y ago
> But this seems like a much nicer way of doing it than JSX.
Note that there is no requirement to use JSX, JSX is just syntactic sugar for the underlying function calls which you can use directly: https://facebook.github.io/react/docs/react-without-jsx.html https://facebook.github.io/react/docs/react-without-jsx.html
That's useful when you don't want to add a local compilation file when developing/debugging.