4.0.0
- Migrates from a peer dependency on
react-router
toreact-router-dom
instead. (Fixes #59)
The original reason for requiring react-router
is because it is compatible with both web and react-native, so this hook now (as of version 4.0.0) only supports web. If there is enough interest, we can spin up another hook specifically for react-native.