I'm reading the reactjs docs and now I'm convinced it might work as webpage. But I'm missing a tutorial/doc of the last step to actually create a html file with javascript files that are to be deployed by a server and really run in up-to-date-browsers.
I figured out that some transpiler(?) like babel should be neccessary.
Webpack does it for you... you can do it without a transpiler by the way...
Maybe something like Gatsby would do what you need?
Jakob Lind
Full stack developer and independent consultant.
It is true that a transpiler is necessary. The reason is that the JSX code (and ES6) you write need to be transpiled to regular JavaScript code. The easiest and quickest way to get started is by using Create React App (github.com/facebook/create-react-app). When you get more advanced you could look into webpack which is a build tool that gives you more control in building the bundle. Good luck!