>a static site generator that uses React
Does this mean the HTML is constructed by rendering components to strings using ReactDOMServer, or that the frontend scripts use React? Or both?
Re:New React website
by kylemathews on Friday September 29, 2017 @02:56PM
(#15368088)
Both. Checkout gatsbyjs.org, the tool the site was built with. But basically Gatsby renders each page to HTML and writes it out to disk similar to other static site generators. And then when the HTML loads, it pulls in JavaScript to make the site "live" so that from then on out it acts like a normal React web app.
Gatsby is an attempt to blend the best aspects of static site generators and web apps.
Does it say on the page somewhere that this site is built with Gatsby?
Re:New React website
by kylemathews on Friday September 29, 2017 @02:53PM
(#15368060)
From the twitter announcement: https://twitter.com/reactjs/status/913797447209517056
Also this is the source for the website: https://github.com/facebook/react/blob/master/www/package.js...
Thanks - I need a good way to view source on iOS.
Check out Working Copy, which I use extensively but I'm not sure it's what your looking for exactly (I'm not affiliated). I think there's iOctocat if you're just looking for a way to browse github repos.
Searching for a static site generator that uses React, I found Phenomic first then Gatsby. I was already leaning towards Gatsby since Phenomic is still in alpha. Now that Facebook is using it, my decision is easy. Phenomic looks like it can do a lot more than Gatsby, so maybe I'll give it a second chance in the future.