Releases: icd2k3/use-react-router-breadcrumbs
Releases · icd2k3/use-react-router-breadcrumbs
4.0.1
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.
3.2.1
3.2.0
3.1.0
- Adjusts the automatic breadcrumbs generator to replace
-
with"some-route"
would now render a default breadcrumb of"Some route"
instead of"Some-route"
#42 (thanks @codytooker) - Adds an additional option
defaultFormatter
for users to provide their own function to generate default breadcrumbs(string) => string
#42 (thanks @codytooker)