I think there is no need to use one more link for the exact same example.
The link that I have removed, redirects the user to the old react documentation which is already listed in this md file as "Reusing Logic with Custom Hooks".
* feat: add Set JavaScript content
* refactor: update links to the latest react documentation
This commit updates all links that referred to outdated(legacy) React documentation to the latest version
I'm adding a link to a React Router cheatsheet/reference covering examples of various routes, including core components and routers introduced in v6.4.