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.

--

--

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