Skip to content

Commit

Permalink
Merge branch 'master' of github.com:unicorn-standard/boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesknelson committed Nov 8, 2015
2 parents 99c7168 + 256ad4a commit 2c1b397
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
14 changes: 8 additions & 6 deletions README.md
@@ -1,14 +1,14 @@
# Unicorn Standard Boilerplate
# Unicorn Standard Starter Kit

**Unicorn Standard Boilerplate provides you with the code and conventions you need to get straight into building your React and Redux based app.**
This starter kit provides you with the code and conventions you need to get straight into building your React/Redux based app.

## Happiness is six lines away

*Prerequisites: node.js and git*

```
git clone https://github.com/unicorn-standard/boilerplate.git [your-repo-name]
cd [your-repo-name]
git clone https://github.com/unicorn-standard/starter-kit.git your-repo-name
cd your-repo-name
npm install
npm install -g gulp
npm start
Expand All @@ -17,9 +17,9 @@ npm run open # (from a different console window, otherwise open localhost:3000)

Presto, you've got a ready-to-customise application!

![Unicorn Standard Boilerplate](http://unicornstandard.com/files/boilerplate.png?1)
![Unicorn Standard Starter Kit](http://unicornstandard.com/files/boilerplate.png?1)

## Why use Unicorn Standard Boilerplate?
## Why use Unicorn Standard Starter Kit?

- Your directory structure is sorted as soon as you `git clone`
- ES6 compilation and automatic-reloading development server are configured for you with [webpack](https://webpack.github.io/) and [Babel](https://babeljs.io/)
Expand Down Expand Up @@ -69,6 +69,8 @@ Most of the above will be obvious from a quick read through `main.js` - if there

### Actors

*[Read the introduction to actors](http://jamesknelson.com/join-the-dark-side-of-the-flux-responding-to-actions-with-actors/)*

Each time your store's state changes, a sequence of functions are called on the *current state* of your store. These functions are called **actors**.

There is one important exception to this rule: actors will not be called if `main.js` is currently in the midst of calling the sequence form a previous update. This allows earlier actors in a sequence to dispatch actions to the store, with later actors in the sequence receiving the *updated* state.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -49,7 +49,7 @@
"object-pick": "^0.1.1",
"react": "^0.14.0",
"react-dom": "^0.14.0",
"react-pacomo": "^0.5.0",
"react-pacomo": "^0.5.1",
"redux": "^3.0.2",
"redux-batched-subscribe": "^0.1.4",
"redux-multi": "^0.1.9",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Expand Up @@ -52,7 +52,7 @@ export default (DEBUG, PATH, PORT=3000) => ({
{ test: /\.svg/, loader: "url-loader?limit=10000&mimetype=image/svg" },

// Load fonts
{ test: /\.woff(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "url-loader?limit=10000&minetype=application/font-woff" },
{ test: /\.woff(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "url-loader?limit=10000&mimetype=application/font-woff" },
{ test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/, loader: "file-loader" },
]
},
Expand Down

0 comments on commit 2c1b397

Please sign in to comment.