Skip to content

Commit

Permalink
feat(http): remove (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshuawuyts committed Dec 11, 2016
1 parent e0a91f2 commit 60fb8b9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ we support - while secretly sneaking in some performance upgrades. Enjoy!
[pull-request]()
- :exclamation: swap `state` and `data` argument order |
[issue](https://github.com/yoshuawuyts/choo/issues/179)
- :exclamation: remove `choo/http`. Use [xhr](https://github.com/naugtur/xhr)
instead | [pull-request](https://github.com/yoshuawuyts/choo/pull/269)
- update `router` to use memoization |
[issue](https://github.com/yoshuawuyts/sheet-router/issues/17) |
[pull-request](https://github.com/yoshuawuyts/sheet-router/pull/34)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ Examples of effects include: performing [xhr] requests (server requests),
calling multiple `reducers`, persisting state to [localstorage].

```js
const http = require('choo/http')
const http = require('xhr')
const choo = require('choo')
const app = choo()
app.model({
Expand Down
1 change: 0 additions & 1 deletion http.js

This file was deleted.

2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
],
"files": [
"index.js",
"http.js",
"html.js",
"dist/"
],
Expand All @@ -42,7 +41,6 @@
"hash-match": "^1.0.2",
"nanoraf": "^2.1.1",
"sheet-router": "^4.0.1",
"xhr": "^2.2.0",
"xtend": "^4.0.1",
"yo-yo": "^1.2.2"
},
Expand Down

0 comments on commit 60fb8b9

Please sign in to comment.