Em-Ant / fcc-options-app

Options Inc. web app development
Other
12 stars 7 forks source link

Lazy loading can fail on server error. #15

Closed Em-Ant closed 8 years ago

Em-Ant commented 8 years ago

If loading fails one time, data are not being requested anymore, on any page.

andrealonzo commented 8 years ago

Fixed with 76450146ad53fccbf8ae8bdb2750d44ac7f293cd. If any API fails because they are not authorized, the user is logged out on the client and sent back to the login screen.

Em-Ant commented 8 years ago

It's not only this. On every kind of error, needsToBeFetched is not reset, so no other page can reload data.

Em-Ant commented 8 years ago

ba61f9b should fix this, for the reducers part. Error handling in the components (i.e, try to reload, or display an error) not implemented yet