altjs / router

Connect react-router to alt so you can have routes in flux
29 stars 3 forks source link

Why is the updateHistory action not exported? #8

Closed cormacrelf closed 8 years ago

cormacrelf commented 8 years ago

It looks like I can only listen to dispatches when I manually use alt.router.pushState or alt.router.replaceState. But I can't listen to overall routing activity, which would be much more useful. Is there a reason for nor exporting it?

goatslacker commented 8 years ago

it's meant to be updated internally, you use pushState/replaceState to update the router state externally.