When some.route is waiting for slow-model, you can have a some.route-loading loading state to show some kitties while waiting.
In this case it makes sense to have some.route-error too, so you can show a sad face when the payload breaks things.
However, when I click on a link-to to some/route, the location href in the address bar is not updated until the loading completes successfully.
I don't know if this is by design, but I would like to be able to navigate back with the browser history on error.
In other words: Can I have the location href in the address bar update before rather than after the loading state appears?
Aucun commentaire:
Enregistrer un commentaire