4 ms·
Holy crap, these pages load fast. Honestly the best possible advertisement for a javascript framework at the moment is how quickly the page paints. For me it wa
by fredley 8y ago
Holy crap, these pages load fast. Honestly the best possible advertisement for a javascript framework at the moment is how quickly the page paints. For me it was virtually instantaneous. Bravo.
- Ndymium 8y agoI'm behind a mobile connection which has been acting up today. For me the experience on the website was pretty bad, as there were no loading indicators. I clicked on a link and it did nothing for several seconds. Since it's not a real page load, my browser did not show any indication of loading either. I'm not entirely sure what next.js does, but I would be wary of using this library due to the bad website experience on a non-optimal connection.
- mAritz 8y agoLoading indicators are left up for developers to add in next.js, but aren't very difficult to do. I've used react-redux-loading-bar[1] in a recent small project of mine and it worked quite well so far. I'm not sure about working with the native loading indicators though. In general I quite like the way next.js is handling these things: It's pretty bare-bone but provides a lot of examples of how to do more advanced things.[2] There's even an example for loading indicators: https://github.com/zeit/next.js/tree/canary/examples/with-loading https://github.com/zeit/next.js/tree/canary/examples/with-lo... [1] https://github.com/mironov/react-redux-loading-bar https://github.com/mironov/react-redux-loading-bar [2] https://github.com/zeit/next.js/tree/canary/examples https://github.com/zeit/next.js/tree/canary/examples
- timneutkens 8y agoGreat explanation @mAritz! Thank you for your feedback @Ndymium, we've shipped a new version of the website that has a loading indication (based on the with-loading example posted above)
- subpixel 8y agoNote that these pages are not serving dynamic data - unless I'm mistaken, they are an example of Next.js static export