Front db
f-db is a functional based Observable implementation, with a focus on managing state of complex data types (object / arrays). This is especially usefull to responde declaratively to internally (complex UI) or externally (server-side-events / WebSockets) changing application-data.
Please not that front-db is currently under development and not yet suited for production
Example
Data is a simple Observable of any primitive property
let numData = 0 let subscription = numData numDataval = 100numDataval = 200 //current valueconsole // 200 numData
A DataBase is a collection (object) of Data instances.
let db =
Conribute
All feedback is appreciated. Create a pull request or write an issue.