News for hackers. Stuff that matters.
Re:Elemental UI for React.js by vbsteven on Monday August 24, 2015 @04:56AM (#10108611)
There's something wrong with the routing on that page. Whenever I open a link in a new tab it redirects to the home page. The same behavior when I type http://elemental-ui.com/css in my address bar and hit enter, it opens the homepage. Only clicking a link on the homepage gets me to the css page.
Re:Elemental UI for React.js by jed_watson on Monday August 24, 2015 @06:36AM (#10108871)
Thanks for pointing that out - webre using react-router and it works locally, not sure why hosting on github pages breaks it. Will check it out.
Re:Elemental UI for React.js by mikewhy on Monday August 24, 2015 @11:18AM (#10110406)
If you're using the HistoryLocation in react-router then it expects a server with routes that renders the same index.html page, which github pages definitely doesn't do