This is probably because it is hosted on GitHub Pages which doesn't give you a way to serve the document for any URL. I would expect it to be a trivial fix for any self-run server.
Yes, it is a GitHub hosting issue and it works when the project is run locally. I am aware of the GitHub SPA hack, but I decided against it, since it would introduce unwanted complexity. My main goal with the repo is to teach how to use the NX framework.
Project wise: it's neat that something like this was built. I always think it's cool that people transform something they may use every day to represent something/learn about something.
Usability wise: After using HN for so long, this just hurts to use and wait for the JS to render ):
Its a framework demo, the goal of it is to teach how to use the framework. After reading all the comments, I think I should clarify it in the repo readme (:
I am the author of the NX framework and this example. Thx for posting this here (:
The clone is not intended to be HN alternative, it is an introductory project for the framework.
The redirection issues are because of the GitHub hosting. I am aware of the possible SPA hack, but I decided against it as it would introduce unnecessary complexity to the example project. I will change the hosting soon.
The framework works in all browsers supported by ES6 proxies. (Meaning no IE and Safari 10+ only, rest is pretty much supported). The reason is the reliance on unpolyfillable ES6 proxies. It is a next gen framework that will stay in beta for some time and I hope that by the time I release v1 these browsers will have a lot smaller market share.
"Please reopen this page in the latest Chrome, Firefox, Safari, Edge or Opera browser.NX relies heavily on the unshimmable ES6 Proxies, which means that it only supports Safari 10 and no version of IE yet. This is probably the biggest downside of the framework, but it also allows for some powerful features, that differentiates it from the others. With the release of Safari 10 and the replacement if IE by Edge, all major browsers will be supported."
Its just a feature demo, but I actually think that list animations between page changes add value. It makes it easy to spot which stories made it to the top when you switch from new to top for example. (Those stories are animated to their place).
https://nx-js.github.io/hackernews-example/
and refresh:
https://nx-js.github.io/hackernews-example?type=top&page=0
I get a 404.