datavis-tech / topologica

Minimal library for reactive dataflow programming. Based on topological sort.
MIT License
50 stars 1 forks source link

Api redesign #17

Closed curran closed 6 years ago

curran commented 6 years ago

Closes #15

Summary of changes:

Example:

import Topologica from 'topologica';

const fullName = ({firstName, lastName}) => `${firstName} ${lastName}`;
fullName.dependencies = ['firstName', 'lastName'];

const state = Topologica({ fullName });
monfera commented 6 years ago

comment added to https://github.com/datavis-tech/topologica/issues/15#issuecomment-416581831