million-react icon indicating copy to clipboard operation
million-react copied to clipboard

Catch boundary support?

Open kentcdodds opened this issue 3 years ago • 1 comments
trafficstars

I noticed the limitations section and I'm mostly fine with it, but I want to make sure that catch boundaries are supported. In react those have to be class components which have limited support. Do you know whether catch boundaries will work with million?

kentcdodds avatar Jul 30 '22 14:07 kentcdodds

Hey Kent, functional components don't have boundaries at the moment. This is a good feature suggestion, thanks for the feedback!

aidenybai avatar Jul 30 '22 16:07 aidenybai

@kentcdodds @QuiiBz just shipped this in v1.12.3! and an awesome writeup by them here: https://twitter.com/tomlienard/status/1557448841196146688

aidenybai avatar Aug 12 '22 04:08 aidenybai

🥳

kentcdodds avatar Aug 12 '22 13:08 kentcdodds