diff --git a/README.md b/README.md index a07b699..a62f966 100644 --- a/README.md +++ b/README.md @@ -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 ); ```