Skip to content

Commit

Permalink
Merge pull request #153 from yoshuawuyts/badge
Browse files Browse the repository at this point in the history
badges: add
  • Loading branch information
yoshuawuyts authored Jul 11, 2016
2 parents face99e + b6d7ff5 commit 9e51db2
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 @@ -79,6 +79,7 @@
<li><a href="#example">Example</a></li>
<li><a href="#philosophy">Philosophy</a></li>
<li><a href="#concepts">Concepts</a></li>
<li><a href="#badges">Badges</a></li>
<li><a href="#api">API</a></li>
<li><a href="#faq">FAQ</a></li>
<li><a href="#installation">Installation</a></li>
Expand Down Expand Up @@ -360,6 +361,15 @@ const view = (state, prev, send) => {
```
In this example, when the `Add` button is clicked, the view will dispatch an `add` action that the model’s `add` reducer will receive. [As seen above](#models), the reducer will add an item to the state’s `todos` array. The state change will cause this view to be run again with the new state, and the resulting DOM tree will be used to [efficiently patch the DOM](#does-choo-use-a-virtual-dom).

## Badges
Using `choo` in a project? Show off which version you've used using a badge:


[![built with choo v3](https://img.shields.io/badge/built%20with%20choo-v3-ffc3e4.svg?style=flat-square)](https://github.com/yoshuawuyts/choo)
```md
[![built with choo v3](https://img.shields.io/badge/built%20with%20choo-v3-ffc3e4.svg?style=flat-square)](https://github.com/yoshuawuyts/choo)
```

## API
This section provides documentation on how each function in `choo` works. It's
intended to be a technical reference. If you're interested in learning choo for
Expand Down

0 comments on commit 9e51db2

Please sign in to comment.