News for hackers. Stuff that matters.
Re:Single Page Apps for GitHub Pages by maxmcd on Wednesday July 06, 2016 @04:20PM (#12045627)
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.
Re:Single Page Apps for GitHub Pages by teen on Wednesday July 06, 2016 @05:00PM (#12045871)
Aren't some wildcards? such as app/users/<username>
Re:Single Page Apps for GitHub Pages by maxmcd on Wednesday July 06, 2016 @11:42PM (#12047360)
Ah, whoops, yep, fair enough.