Modern React in ClojureScript: Error Boundaries

I posted this snippet in Slack a few days ago and someone suggested I create a blog post out of it. So I did!

We have a pretty large reagent + re-frame codebase at work, and we recently did the heavy lifting to migrate all of our code and external libraries to React 16+.

This was one of the first benefits I found just doing day-to-day work stuff after the upgrade. Hope it’s helpful!

Has anyone else found ways to leverage some of the newer React features in Reagent and/or ClojureScript?

5 Likes

Just for anyone reading this: if you use Reagent, this is EXTREMELY HELPFUL.

2 Likes

thanks for sharing, this is really helpful!!

1 Like