use-react-router-breadcrumbs
use-react-router-breadcrumbs copied to clipboard
Question: why react-router is peer dependency instead of react-router-dom?
Hey there! 👋
I'm wondering why react-router is set as peer dependency and not react-router-dom, which is officially recommended?
I'm asking only out of curiosity, because I got this warning:

It's mostly because react-router is compatible with both web DOM and react native... I'm considering switching to react-router-dom and perhaps splitting out a different version of this util for native (if there's any demand) 🤔
v4.0.0
Thanks both for explaining and migrating to react-router-dom, cheers! 🙇