Re:MDN (beta) is now built with React
by beatgammit on Tuesday July 16, 2019 @10:47PM
(#20455971)
I love using Markdown for documentation. It's readable in source, it's easy to compile to HTML, and it's pretty easy to add some JavaScript later for dynamic parts.
Re:MDN (beta) is now built with React
by robertoandred on Tuesday July 16, 2019 @03:34PM
(#20453145)
Why not? There's no real downside when combined with SSR.
Re:MDN (beta) is now built with React
by paulryanrogers on Tuesday July 16, 2019 @07:58PM
(#20455097)
Complexity is costly and generally more brittle
Re:MDN (beta) is now built with React
by andrewaylett on Wednesday July 17, 2019 @04:42AM
(#20457626)
Even "just writing it" is a generation step.
No, it doesn't. You can just write it.
Anyway, the question here is not why they're using React to generate a site, but rather why they're using it to display the site.
As others have mentioned, there are lots of tools to write DRY HTML/CSS, then compile, then deploy as a static site. No one would ever know which tool you used.
The weird thing here is that they're using React in the browser (not as a one-time step) for a completely static site.