This repository has been archived by the owner on Oct 26, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compare location changes against initialState.
Also, replace the location, rather than transitionTo it. The location in the initialState is no longer undefined, so we should compare if we're going back to that state. Because the initial action is normally a POP, we can't transition to that kind of action and instead need to replace our location. Fixes #164 Fixes #252
- Loading branch information
3ae8110
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was just about to post
Thank you for looking into this!