-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Library exports only a production boundary as default
react-error-guard/src/index.js
Line 1 in 5195a31
export {default as ProductionErrorBoundary} from './ProductionErrorBoundary'; |
But README states that we should do the following to get development version which obviously cannot work.
ErrorBoundaryContainer = require('react-error-guard').DeveloperErrorBoundary;
I had to do ugly variant, but would be nice to correct it :)
const DeveloperErrorBoundary = require('react-error-guard/lib/DeveloperErrorBoundary').default
ianstormtaylor
Metadata
Metadata
Assignees
Labels
No labels