When a parcel is mounted it checks if errorBoundary is set or it implements the componentDidCatch function, if those are not available it will log a warning to the console. This warning is always logged when you use the errorBoundaryClass property.
It is possible to work around this by setting suppressComponentDidCatchWarning but that feels a bit weird, so this PR fixes this issue by include an additional check if the errorBoundaryClass is set
When a parcel is mounted it checks if
errorBoundary
is set or it implements thecomponentDidCatch
function, if those are not available it will log a warning to the console. This warning is always logged when you use theerrorBoundaryClass
property.It is possible to work around this by setting
suppressComponentDidCatchWarning
but that feels a bit weird, so this PR fixes this issue by include an additional check if theerrorBoundaryClass
is set