Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
itwillwork authored Apr 10, 2019
1 parent 0e85396 commit 7f20ddb
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ Wrap the component for which you want to watch. :checkered_flag:
import clearRender from 'clear-render';

class SimpleComponent extends React.Component {

...

}

export default clearRender(SimpleComponent);
Expand All @@ -39,12 +37,11 @@ or
```javascript
import clearRender from 'clear-render';

@clearRender
class SimpleComponent extends React.Component {

const SimpleComponent = (props) => {
...

}

export default clearRender(SimpleComponent);
```

## Usage for CodePen and JSBin as UMD module
Expand All @@ -56,9 +53,7 @@ in js area use ```clearRender``` from global scope
```javascript
@clearRender
class SimpleComponent extends React.Component {

...

}
```
### Install
Expand Down

0 comments on commit 7f20ddb

Please sign in to comment.