Registered on this resource just to say thank you!
I've modified your example so decorator would accept options like this
@withErrorBoundary({ componentName: ' . . . ' })
and we could handle errors in uglified/minified production build
For anyone wondering - the wrapper will look like this
Registered on this resource just to say thank you!
I've modified your example so decorator would accept options like this
@withErrorBoundary({ componentName: ' . . . ' })
and we could handle errors in uglified/minified production build
For anyone wondering - the wrapper will look like this
Then ErrorBoundary component will receive options object as a prop (obviously)
Thanks for sharing!