Unfortunately, if you're using React Router v6, there's not currently a great story for adding animated transitions to your app. They're aware and are "going to have an animation API in v6" – though not sure when that's planned to be released.

Once it's released, we'll update this post.

If you're using another version of React Router, check out one of the following posts.

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? We wanted to change that.

We call it Bytes, but others call it their favorite newsletter.

Delivered to 109,974 developers every Monday and Thursday