From ee4edf7e5598936b0ed0ff66d8c7768af310b1dc Mon Sep 17 00:00:00 2001 From: Timothy Farrell Date: Wed, 22 Aug 2018 15:22:59 -0500 Subject: [PATCH] Upgrade Lerna and require prettier. Some format changes --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a62f966..60102e1 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ 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 depend on them and only recompute -when these values change. It can also be used to receive events such as _window.onresize_ to always +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. ## Usage @@ -174,7 +174,9 @@ const getToken = stream( ### Read ```js -if (await getToken()) { /* do stuff with the token */ } +if (await getToken()) { + /* do stuff with the token */ +} ``` Call it to receive the stored value, recomputing if necessary.