Skip to content

Fix extra dispatch after external state change

Compare
Choose a tag to compare
@acdlite acdlite released this 13 Jul 20:09
· 223 commits to master since this release

Noticed after testing with Redux Devtools that an extra, unnecessary action was being dispatched after an external state change. This PR fixes it by comparing location state keys before calling locationDidChange().