2 ms·
Who's stopping you from putting your jsx in a seperate file?
by woah 12y ago
Who's stopping you from putting your jsx in a seperate file?
- Bahamut 12y agoBuild tool complexity is what I dislike - it's certainly possible, but the trend I dislike is build tooling increasing complexity of the build system of the frontend, decreasing accessibility for onboarding developers. JSX is an unnecessary offender in this department, bringing us farther away from plain HTML.
- iyn 12y agoHave you seen Webpack (https://webpack.github.io/ https://webpack.github.io/)? It's a very powerful tool, but it's quite simple to start with. I can recommend this tutorial: https://webpack.github.io/ https://webpack.github.io/
- iyn 11y agoHa, I just realized I posted the same link twice. This is the link to the tutorial: https://github.com/petehunt/webpack-howto https://github.com/petehunt/webpack-howto
- hobby_body 12y agoWhy use JSX at all, then? var d = React.DOM; d.div(null, 'Hello', d.strong(null, 'World'))