kuy / redux-tower

Saga powered routing engine for Redux app.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prevent action by other than CHANGE_COMPONENT

kuy opened this issue · comments

History actions should also trigger preventing actions and hooks.
In blog example, when I click admin link, the tower switches to Login page, but I could see '/admin/posts' URL in the address bar for a moment.

But it should be triggered only in hooks, not in a route action.