question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pages stuck in "loading" mode when an error is thrown

See original GitHub issue

When 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:closed
  • Created 6 years ago
  • Comments:28 (24 by maintainers)

github_iconTop GitHub Comments

1reaction
tofumattcommented, Oct 31, 2017

Nope, I’m not; I’ve unassigned myself as I’m working on a few UI polishes before the tag.

0reactions
ValentinaPCcommented, Nov 13, 2017

I’ve logged https://github.com/mozilla/addons-frontend/issues/3887 We can mark this one verified.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found