Setting up Nested Routes in a Note-taking App (pt 3)

  1. routing is inherently a bit difficult to understand
  2. insufficient use of the documentation by this author (insert some meme á la “why spend 30 minutes reading documentation when you can spend 3 days debugging your app?”) (impatience)
  3. relying on written documentation when a well done video tutorial helped me understand nested routing much faster, especially by using hooks like useParams and useRouteMatch, and seeing all components in a single file, rather than spread out in multiple files, making it harder to see the relationships and hierarchies between the different app components and react-router-dom components (i.e., Link and Route) and the relevant properties to pass them.

--

--

--

Software Engineer and Chinese Language Nerd

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

3 React Patterns That Can Be Anti-Patterns |#4

Signal to Bug Ratio

Building OTP verification component in react-native with auto read from SMS

Change Detection In Angular

React tid-bits: My custom useCollection hook

Early Accessibility Testing

React Event Handlers

Combo Platter

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Theo Carney

Theo Carney

Software Engineer and Chinese Language Nerd

More from Medium

How to accomplish “Voronoi/Delaunay” transition animation using d3 and react-spring

So You Want to Scroll Infinitely Using React and Firebase?

## Intended audience

What is CSR v SSR v SSG v ISR?