React Router v6 comes with a Routes component that, because it's "intelligent", makes worrying about Ambiguous Matches obsolete. However, if you're using a version before React Router v6, you can find that post below.


Before you leave

I know, "another newsletter pitch" - but hear me out. Most JavaScript newsletters are terrible. When's the last time you actually looked forward to getting one? Even worse, when's the last time you actually read one rather than just skim it?

We wanted to change that, which is why we created Bytes. The goal was to create a JavaScript newsletter that was both educational and entertaining. 101,876 subscribers and an almost 50% weekly open rate later, it looks like we did it.

Delivered to 101,876 developers every Monday