With React Router up-to-date, I took another shot at lazy-loading some components in Mastodon. Surprisingly, the most difficult part was handling the loading and error states (fail gracefully when the bundle download fails and allow the user to reload the component). I'm doing the final touches ✨, so feel free to jump in to give feedback 😁 https://github.com/tootsuite/mastodon/pull/3879 #MastodonPerf https://toot.cafe/media/vQ0yUSrRXpCm_xkEsg0
