From fb53c8d49fff95e76150b72538075d70b3d33632 Mon Sep 17 00:00:00 2001 From: Timothy Farrell Date: Fri, 20 Jan 2017 22:29:37 -0600 Subject: [PATCH] A note for added clarity --- packages/frptools/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/frptools/README.md b/packages/frptools/README.md index 9aa64c6..1be7fba 100644 --- a/packages/frptools/README.md +++ b/packages/frptools/README.md @@ -101,6 +101,7 @@ inViewport(true); // showDialog marked as dirty but does not recompute its store shouldShow(true); // showDialog is already marked as dirty. Nothing else happens. showDialog(); // showDialog recomputes its stored result and unsets the dirty flag. +// adding a subscription will change showDialog's internal behavior showDialog.subscribe(console.log.bind(console)); inViewport(false); // showDialog result recomputed and `false` is written to the console.