3 ms·
Thanks. I actually don't like JSX. It seems it encourages logic and presentation mixup. Plain React.js seems good for Views as they advertise. I think React.js
by proc0 11y ago
Thanks. I actually don't like JSX. It seems it encourages logic and presentation mixup. Plain React.js seems good for Views as they advertise. I think React.js + ES6 + functional library, will make a good combo.
- firasd 11y agoNot using JSX won't mean your React doesn't mix HTML & JS though. React's whole philosophy is to mix them. So it just means you will have to keep typing ".createElement('h1'...)" instead of typing "<h1>".
- thibauts 11y agoIt mixes presentation and presentation logic. You don't have to use a poor language to build your HTML.