react-router-utils
A set of utility function to help working with React Router
Usage:
withHistory(Component)
Injects location
, match
, and history
props while maintaining ability to ref
the inner Component.
state
actions.setRoute(string)
reducer
Links your react router with a redux store to have latest route easily accessible without the need to wrap everything in withHistory
utils
A collection of various utils to help working with paths and history objects inside React components