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

React: State vs. Props

MikroORM 3: Knex.js, CLI, Schema Updates, Entity Generator and more…

loops in modern javascript

sweet & delicious biscuits

Basics of Javascript · String · replace() (method)

Why Opt for AngularJS?

在線觀看▷鬼滅之刃『劇場版 無限列車篇』完整版本||HD-1080p

Uses of Bootstrap in React App for Beginners

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 Create and Set Up a React Project with Create React App in Windows?

7 things you must know before starting a project with React Admin

Setup shadow-cljs react project

Plaid Integration in React app