The dataflow instance itself will be a function equivalent to set.
46 Eliminate get
The dataflow instance will have the properties retrieved by get.
47 Pass dataflow instance into reactive functions
This will make it possible to set values within asynchronous reactive functions without the need for the reactive function to be defined in the same scope as dataflow.
This will be backwards compatible, as the values can still be unpacked.
This will improve efficiency and simplify the internals of the implementation, as no new objects will need to be created in the digest cycle.
(Con) This will make it possible to unpack properties that are not declared as dependencies, which could inadvertently introduce bugs. This would put more burden on developers to remember to maintain their inputs declaration.
Some ideas for a major version revision of Topologica.js:
43 Rename the exported global
Topologica
totopologica
, so it matches the package name.44 Rename
dependencies
toinputs
45 Eliminate
set
dataflow
instance itself will be a function equivalent toset
.46 Eliminate
get
dataflow
instance will have the properties retrieved byget
.47 Pass
dataflow
instance into reactive functionsdataflow
.inputs
declaration.