Gatsby – Static Site Generator with React and Webpack
github.com
github.com
HN had a pretty good convo about accessibility a few years ago where some screen reader dependent community members dispelled the myth once and for all, for me. We tend to talk about screen readers here like they're just `curl example.com | say`.
On a related topic, I hate the term isomorphic. It's just JavaScript.
Go ahead, disable javascript and visit any of the example websites.
You say that the only use of react is the virtual DOM, so is it just that React is a poor choice as a template engine? I'm not personally convinced, but that's a bit of personal preference I suppose. The modularization and composability of components is definitely nice, and not all template engines do this well. I could certainly see how you may disagree with me though.
Is it that they aren't doing anything revolutionary? That's certainly true. It's relatively trivial to make a static site generator that uses React, and there's plenty of static site generators out there that use other engines. I think using webpack to bundle everything up is pretty nice though.
Either way, my point wasn't that this project is particularly amazing, or useful, just that it works with JavaScript disabled.
My point is, the whole point of React is to use JavaScript. Otherwise it just becomes yet another template language. Which every static site generator already has.
It's also easy to screw up React and end up with JS on the client side. Because that's the selling point of React (or isomorphic, to be exact)... JS freely travels between backend and frontend without the developer really caring much.
Blogs are around, sure, but they're a bit old-hat now, right? There are other ways to arrange content. I've got my own single-file Python static site generator, which could handle a blog, I guess, but it would seem odd to crown that one application. Is it historical, from Jekyll? Or is blogging the overwhelming use-case for static sites?
This is what I'm talking about, people are so engrained in the way things currently work that can't see obvious things like this. It's code, you can do whatever you want.
https://github.com/netlify/netlify-cms
Since netlify can already run the build of a static site whenever there's a push to git, all the CMS needs to do is manage the content in the Git repository in a user friendly way.
There's absolutely no reason non-technical users shouldn't be able to content just because the end result is not using a database...