You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* A library for managing data flows graphs and changing state.
6
-
* Built on [reactive-property](https://github.com/curran/reactive-property).
7
-
* The foundation for [reactive-model](https://github.com/curran/reactive-model).
6
+
* Built on [reactive-property](https://github.com/datavis-tech/reactive-property).
7
+
* The foundation for [reactive-model](https://github.com/datavis-tech/reactive-model).
8
8
9
9
# Usage
10
10
@@ -18,7 +18,7 @@ Require it in your code like this:
18
18
var ReactiveFunction =require("reactive-function");
19
19
```
20
20
21
-
This library is designed to work with [reactive-property](https://github.com/curran/reactive-property), you'll need that too.
21
+
This library is designed to work with [reactive-property](https://github.com/datavis-tech/reactive-property), you'll need that too.
22
22
23
23
```javascript
24
24
var ReactiveProperty =require("reactive-property");
@@ -57,7 +57,7 @@ ReactiveFunction({
57
57
});
58
58
```
59
59
60
-
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/curran/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.
60
+
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.
61
61
62
62
To force a synchronous evaluation of all reactive functions whose dependencies have updated, you can call
63
63
@@ -71,7 +71,7 @@ Now you can access the computed value of the reactive function by invoking it as
71
71
console.log(fullName()); // Prints "Jane Smith"
72
72
```
73
73
74
-
For more detailed example code, have a look at the [tests](https://github.com/curran/reactive-function/blob/master/test.js).
74
+
For more detailed example code, have a look at the [tests](https://github.com/datavis-tech/reactive-function/blob/master/test.js).
0 commit comments