Skip to content

sangeethnandakumar/Twileloop.SST

Repository files navigation


Logo

Twileloop.SST

(Single Source Of Truth)

Centralised | State Management | Time Travel

About

Twileloop.SST is a lightweight implementation of a single-source-of-truth concept.

This package allows you to store your application state (data required for running your app / keeping a session) centrally in memory as a singleton instance and surround it with state management functions. Once a state is stored, Your app should stick to this state (single-source-of-truth), Allowing you to make the app respond predictably as the state changes.


You can modify this state from anywhere in your app,

Get callbacks when your state changes, see state update history, diff 2 states, or even implement time travel with state undo & redo.

License

Twileloop.SST - is licensed under the MIT License. See the LICENSE file for more details.

This library is absolutely free. If it gives you a smile, A small coffee would be a great way to support my work. Thank you for considering it!

"Buy Me A Coffee"

Full Documentation

https://packages.twileloop.com/twileloop.sst