kitze / mobx-router

A simple router for MobX + React apps
509 stars 66 forks source link

Add rejected return to #45

Open peebles opened 7 years ago

peebles commented 7 years ago

In addition to fixing the beforeEnter params and queryParams, "remember" the context of a rejected beforeEnter, so that later, one can call a (new) method returnTo() to retry the previously attempted route. This is to support "pass-thru" authentication.