[angular-cli](https://github.com/angular/angular-cli) has a `push to github` hook. Never had any problems with it... not that I've used it a bunch either.
edit: To be clear it pushes to a gh-pages branch on the appropriate repo, ie, sets up an Angular2 SPA.
If you're already using React-Router a nice solution might be to infer all of the valid paths from the React-Router config and push valid pages for those paths to gh-pages. Would involve an unusual build step, but would get you valid 404 responses and avoid the redirect.
This is cool, but the beauty of Jekyll is that you can add content in markdown easily and without much JSX/HTML manipulation. This is specially useful with adding blog-posts and tutorials
I am by no means defending Jekyll. I think it is an OK solutions for the problem in question. The only reason why I prefer it, is for the markdown (human friendly) formatting.
It's not. You can use it with any server that can serve a custom 404 page. I use it locally with http-server to work on react single pages apps that don't have a backend.
12 comments
[ 142 ms ] story [ 62.6 ms ] threadhttp://dynalon.github.io/mdwiki/#!index.md
Though there may be differences to this approach I'm unaware of.
Edit:
One notable difference between the GitHub SPA page is the URLs are SEO friendlier than MDWiki seems to be.
edit: To be clear it pushes to a gh-pages branch on the appropriate repo, ie, sets up an Angular2 SPA.
I am by no means defending Jekyll. I think it is an OK solutions for the problem in question. The only reason why I prefer it, is for the markdown (human friendly) formatting.