From daaa317f49cf3ece2fe1f3752ad392225c66ccb5 Mon Sep 17 00:00:00 2001 From: Timothy Farrell Date: Wed, 22 Aug 2018 10:32:40 -0500 Subject: [PATCH] README fixes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ); ```