3 ms·
I'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 click
by Ndymium 8y ago
I'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)