README fixes

This commit is contained in:
Timothy Farrell 2018-08-22 10:32:40 -05:00
parent 8db6d78574
commit daaa317f49

View File

@ -6,7 +6,7 @@ and derived state.
# [property](./src/property.js)
A `property` is a simple value store that can report when its value changes. It is good for wrapping
external values passed into a component so compute types can dependent on them and only recompute
external values passed into a component so compute types can depend on them and only recompute
when these values change. It can also be used to receive events such as _window.onresize_ to always
provide the current viewport size.
@ -167,7 +167,7 @@ gap).
```js
const getToken = stream(
async tokenUrl => fetch(tokenUrl), // computation function
[getTokenUrl] // array of dependencies, can be a property, computed or stream
[getTokenUrl, tokenTimeout] // array of dependencies, can be a property, computed or stream
);
```