https://github.com/petekgithub/react-hooks-react-router-playground
Router logic works with react-router with useNavigate hook
https://github.com/petekgithub/react-hooks-react-router-playground
navigate react-router-v6 usenavigate
Last synced: 10 months ago
JSON representation
Router logic works with react-router with useNavigate hook
- Host: GitHub
- URL: https://github.com/petekgithub/react-hooks-react-router-playground
- Owner: petekgithub
- Created: 2022-07-16T18:51:42.000Z (over 3 years ago)
- Default Branch: hook
- Last Pushed: 2022-07-17T20:51:22.000Z (over 3 years ago)
- Last Synced: 2025-01-01T01:45:18.435Z (12 months ago)
- Topics: navigate, react-router-v6, usenavigate
- Language: JavaScript
- Homepage:
- Size: 346 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# What's inside here
## Learning goals:
- React router gives us control over how to navigate users around web applications.
- use the `useNavigate` hook and with `navigate`, I can effectively navigate the user to a related page.
## Resources
- [React Router Hooks](https://v5.reactrouter.com/web/api/Hooks)
- [Composing in React Router v6](https://gist.github.com/mjackson/d54b40a094277b7afdd6b81f51a0393f)