@ray-core/redbox-react
Version:
A redbox (rsod) component to display your errors.
22 lines (15 loc) • 902 B
Markdown
# redbox-react
[](https://travis-ci.org/commissure/redbox-react)
[](https://github.com/semantic-release/semantic-release)
The red box (aka red screen of death) renders an error in this “pretty” format:
<img src="http://i.imgur.com/9Jhlibk.png" alt="red screen of death" width="700" />
## Usage
Catch an error and give it to `redbox-react`. Works great with
- [react-transform-catch-errors]
- [Example][react-transform-example]
- [react-transform-boilerplate]
- [react-hot-loader]
- :warning: ️ based on `3.0.0-beta.2`! This depends on `ErrorBoundaries` which
will likely not land in react! You should probably not use this
before 3.0.0 comes out.
- [Example][react-hot-loader-example]