Pages stuck in "loading" mode when an error is thrown
See original GitHub issueWhen we use a loading
flag in a reducer and the API layer throws an error (e.g. 400 or 404), then the redux state keeps loading
set to true
, which results in a page stuck in “loading” mode sent by the server.
For instance, here is a search result that throws a 400: https://addons.allizom.org/en-US/firefox/search/?platform=pouet&q=ad&type=extension. We do not get any error displayed and the page does not look nice. In #3268, I implemented a similar mechanism that should render a NotFound
component when a 404 error is caught. Yet this does not work either.
Note: This does not seem to be the case when SSR is disabled.
Issue Analytics
- State:
- Created 6 years ago
- Comments:28 (24 by maintainers)
Top Results From Across the Web
What to do if your MacBook is stuck on the loading screen
If your loading issue is with a particular app or process, force quit the app by pressing command + option + escape. This...
Read more >Fix "Aw, Snap!" page crashes and other page loading errors
On your Android phone or tablet, open the Chrome app Chrome . · Tap More More and then New Incognito tab. · In...
Read more >How to Solve the Chunk Load Error in JavaScript - Rollbar
Whenever there's an error observed in dynamically fetching helper JavaScript files known as Chunks, a ChunkLoad Error is thrown.
Read more >Websites show a spinning wheel and never finish loading
Sometimes a website will start to load, but never finish. This article covers possible solutions.
Read more >If you can't update or restore your iPhone or iPod touch
If your screen is stuck on the Apple logo for several minutes with no progress bar. You see the recovery mode screen. Learn...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Nope, I’m not; I’ve unassigned myself as I’m working on a few UI polishes before the tag.
I’ve logged https://github.com/mozilla/addons-frontend/issues/3887 We can mark this one verified.