4 ms·
To be fair React without JSX is pretty bad. I did that for a while with TypeScript before it got JSX support.
by seivan 11y ago
To be fair React without JSX is pretty bad. I did that for a while with TypeScript before it got JSX support.
- cloverich 11y agoI agree with you but to provide some more context, some people seem to prefer the non-JSX approach. Here is a (random) example of what that looks like: https://github.com/littlebits/react-popover/blob/master/examples/basic/index.js https://github.com/littlebits/react-popover/blob/master/exam...
- seivan 11y agoOh yeah, I remember seeing that with coffee-script without the parentheses.
- malandrew 11y agoReact with JSX is pretty bad. A library like https://github.com/mlmorg/react-hyperscript https://github.com/mlmorg/react-hyperscript solves the verbosity with not using JSX.