Skip to content

Commit 4228abd

Browse files
committed
Add diagram for fullName. #5
1 parent f231dae commit 4228abd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ ReactiveFunction({
4040
});
4141
```
4242

43-
This defines a "reactive function" that will be invoked when its inputs (`firstName` and `lastName`) are both defined and whenever either one changes ([`null` is considered a defined value](https://github.com/datavis-tech/reactive-function/issues/1)). The function will be invoked on the next tick of the JavaScript event loop after it is defined and after any dependencies change.
43+
This sets up a function that will be invoked when its inputs (`firstName` and `lastName`) are both defined and whenever either one changes. The function will be invoked on the next tick of the JavaScript event loop after it is defined and after any dependencies change.
44+
45+
The data flow graph defined above looks like this.
46+
47+
<img src="https://cloud.githubusercontent.com/assets/68416/15389922/cf3f24dc-1dd6-11e6-92d6-058051b752ea.png">
4448

4549
To force a synchronous evaluation of all reactive functions whose dependencies have updated, you can call
4650

0 commit comments

Comments
 (0)