Next.js Discord

Discord Forum

How do people deal with missing chunks?

Unanswered
Gambel's Quail posted this in #help-forum
Open in Discord
Gambel's QuailOP
We use next js to generate all the necessary parts for a SPA which gets updated usually several times a day. It can so happen that some chunk may not exist anymore while a user has the client still running in their browser. When navigating, it can then happen that the chunk that is requested by their particular client "instance" does not exist anymore and the application blows up.

Does this sound familiar, or am I doing something wrong? I would be interested to hear how other people deal with this problem, which can easily lead to a user experience degradation.

0 Replies