I've just updated to reagent 1.0.0 and I'm struggling to make code with error boundaries work.
Does anyone have a working example of error boundaries with 1.0?
The example from the documentation worked just fine for me. What exactly are the problems you're having?
I meant this example: https://github.com/reagent-project/reagent/blob/master/doc/ReactFeatures.md#error-boundaries
I just stumbled across the example you pasted - let me try that one.
Maybe my test code is invalid or is blowing up too early or something. I'm just not seeing :component-did-catch
getting called.
Ah I think I see what I am doing wrong.
Yes, it's my fault completely. I had two different rendering paths, and only one was using the error boundary.
Thank you @p-himik