Skip to content

Commit

Permalink
v0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MicheleBertoli committed Jun 27, 2016
1 parent dd11a7b commit 3c55a5e
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 2 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
[![Build Status](https://travis-ci.org/MicheleBertoli/react-poop.svg?branch=master)](https://travis-ci.org/MicheleBertoli/react-poop)

# react-poop

react-poop wraps the render method of your components into a try/catch block and renders a 💩 when something goes wrong.

## Installation

```bash
npm i react-poop --save
```

## Usage

```jsx
const App = React.createClass({
render() {
return <div>Hello react-poop</div>
},
})

poop(App)

render(<App />, document.getElementById('app'))
```

## Test

```bash
npm test
```
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-poop",
"version": "0.0.1",
"description": "",
"version": "0.1.0",
"description": "The ultimate error handler for React",
"main": "dist/index.js",
"files": [
"dist"
Expand Down

0 comments on commit 3c55a5e

Please sign in to comment.