Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jeantimex committed May 22, 2016
1 parent 6a4f049 commit 0f8b7fe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ Feeling bored with typing or even copying React codes to write React components

The snippets follow JavaScript ES6 syntax, we don't use the old `React.createClass({...})` anymore, we write class component and functional component. Also we provide snippets to quickly write React Lifecycle functions (e.g. `componentDidMount`).

## Examples ##
**ES6 Class Component**<br />
![rcc](screenshots/rcc.gif)<br />

**Functional Component**<br />
![rfc](screenshots/rfc.gif)<br />

**Test Case (with chai assert and enzyme)**<br />
![rt](screenshots/rt.gif)<br />

## Snippets ##

**ES6 Class Component** `rcc + <TAB>`
Expand Down

0 comments on commit 0f8b7fe

Please sign in to comment.