Skip to content

Commit

Permalink
Syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
brochington committed Dec 8, 2016
1 parent 2c5dce3 commit e32ac51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Because sometimes all you really need is state and actions.

Basic usage:

```
```javascript
import Staction from 'staction'

let staction = new Staction()
Expand Down Expand Up @@ -61,7 +61,7 @@ Actions should always yield/return the full new state, or a Promise that resolve

All of the following are valid actions.

```
```javascript
const myActions = {
action1: (state, actions) => state() + 1,

Expand Down Expand Up @@ -97,7 +97,7 @@ const myActions = {

A "state down, actions up" style of configuration in a React component might look something like:

```
```javascript
import React from 'react'
import Staction from 'staction'
import ChildComponent from './ChildComponent'
Expand Down

0 comments on commit e32ac51

Please sign in to comment.