How can eager compilation or loading screens be achieved on the local development server?
Unanswered
Brown bear posted this in #help-forum
Brown bearOP
I have a homepage that lists a few pages (/tools/<page-name>). When the dev server starts, the /tools/[...] pages are not compiled until they are visited. Therefore, as soon as the development server starts and you click one of those links from the homepage, it remains stuck for a few seconds (while the /tools/[...] pages are being compiled).
This situation somewhat impacts the user experience, as we are shipping this as a starter project for our product. Is there a way to eagerly compile those pages or at least navigate to those pages and have a loading skeleton on that page instead of the screen being stuck for a few seconds on the first page itself, as if the click did not get registered?
This situation somewhat impacts the user experience, as we are shipping this as a starter project for our product. Is there a way to eagerly compile those pages or at least navigate to those pages and have a loading skeleton on that page instead of the screen being stuck for a few seconds on the first page itself, as if the click did not get registered?