Gabe 🎣 on Twitter: "React Router has hooks now! But let's see if we can make it even simpler by wrapping them up into a single `useRouter` hook that exposes just the
![FN2005004 | Create React App + React Router入門 04: フックuseRouteMatch()とuseHistory()を使う | HTML5 : テクニカルノート FN2005004 | Create React App + React Router入門 04: フックuseRouteMatch()とuseHistory()を使う | HTML5 : テクニカルノート](http://www.fumiononaka.com/TechNotes/Images/FN2005004_002.png)
FN2005004 | Create React App + React Router入門 04: フックuseRouteMatch()とuseHistory()を使う | HTML5 : テクニカルノート
const { url } = useRouteMatch() doesn't have good equivalent in V6 · remix-run react-router · Discussion #9037 · GitHub
![javascript - How to detect matched route from a component outside of the <Route/> component that was matched using react-router? - Stack Overflow javascript - How to detect matched route from a component outside of the <Route/> component that was matched using react-router? - Stack Overflow](https://i.stack.imgur.com/b2Tgx.png)