giuseppeg / giuseppeg/react-layers-manager
Error message unclear
- Dominant language
- JavaScript
- Stars
- 170
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
```jsx
const { container } = render(
)
```
While rendering this element I would get this error
```
'Error: Uncaught [TypeError: Cannot read property 'host' of undefined]'
' console.error node_modules/react-dom/cjs/react-dom.development.js:17117
The above error occurred in the component:
in Layer (created by Modal)
in Modal
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://fb.me/react-error-boundaries to learn more about error boundaries.'
```
The error logged in unclear as it doesn't specify that the error comes from the usage if this library, nor it's mentioned that the component should be rendered as:
```jsx
const { container } = render(
,
)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.