sentry-javascript
sentry-javascript copied to clipboard
Passes the fallback function through React's createElement function. …
This enables the fallback component used by the React Error Boundary to use hooks.
Hey @MFoster - mind writing some tests for this? Thanks!
@AbhiPrasad Added a test that proves the ability to call hooks.
CI is failing on formatting - you can run yarn fix to address that!