Getting a ChunkLoadError: Loading chunk 0 failed on staging server and not in development server
The build is same on all servers but the error seems to be occurring in the staging but the development server seems to be unaffected from the effect. Also the error seems to be generating on specific devices only.
Possible use cases:
When hitting the URL, there will be a splash screen and just after the error screen comes.
When switching the header tabs multiple times the error is generating.
When using some random port (e.g. 3000) instead of the default one (i.e. 80) then the issue is not generating throughout any device.
Using other internet connections with different bandwidths, same device show different behaviour.