TehShrike / abstract-state-router

The best way to structure a single-page webapp.
http://tehshrike.github.io/state-router-example
296 stars 26 forks source link

Fix `canLeaveState` being called on initial state load #156

Closed Mtn-View closed 1 year ago

Mtn-View commented 1 year ago

We want it to call canLeaveState when we reload a state, but not when we load it for the first time.

TehShrike commented 1 year ago

Closed by #157