react-static
react-static copied to clipboard
(not maintained) React static site generator framework for Node.js
Recommended reading: http://tomasp.net/blog/2015/library-frameworks/
For example, anything using `execSync` should be replaced with the async equivalent of ``` js await exec('command', errorCallback); ``` _except_ with regards to nodemon. That must stay like this ```...
What happens when there's a `redirectLocation` passed in? https://github.com/rpearce/react-static/blob/master/defaults/_lib/pages.js#L24
Probably use my [ParseMD](https://github.com/rpearce/parse-md) lib so we can get the metadata in a nice and simple way.
It would be great if we didn't have to refresh the page when changes were made, so let's use live reload (or equivalent) to streamline the dev process.
Or pull it back in to `react-static`, itself?
Right now, `routes.js` is bound to `src/components/routes.js`. Allow for this to be set in one place and used everywhere else.