useHistory()
Ryan Florence
@ryanflorence
Michael Jackson
@mjackson
react-router-dom@6
Ryan Florence
@ryanflorence
Michael Jackson
@mjackson
Ryan Florence
@ryanflorence
Michael Jackson
@mjackson
Kent C. Dodds
@kentcdodds
Ryan Florence
@ryanflorence
Michael Jackson
@mjackson
Kent C. Dodds
@kentcdodds
react-router-dom@6.4
useState(): 7
useState(): 7
useEffect(): 5
useState(): 7
useEffect(): 5
contexts: 2
useState(): 7
useEffect(): 5
contexts: 2
useState(): 7
useEffect(): 5
contexts: 2
useState(): 0
useEffect(): 0
contexts: 0
useState(): 7
useEffect(): 5
contexts: 2
useState(): 0
useEffect(): 0
contexts: 0
Bonus
()=>{}: 0
action
loader
shouldRevalidate
Form
ScrollRestoration
DataBrowserRouter
DataHashRouter
DataMemoryRouter
DataStaticRouter
useActionData
useFetcher
useFetchers
useFormAction
useLoaderData
useMatches
useNavigation
useRevalidator
useRouteError
useRouteLoaderData
useSubmit
React Router 5 app
- deployed url: https://workshop-react-router-5.netlify.app/
- github: https://github.com/franck-boucher/workshop-react-router-5
API
- deployed url: https://workshop-react-router-backend.herokuapp.com/
- github: https://github.com/franck-boucher/workshop-react-router-backend
React Router 6.4 app
- deployed url: https://workshop-react-router-6.netlify.app/
- github: https://github.com/franck-boucher/workshop-react-router-6
Slides
fbo.im/rr-slides