A reactive data store & sync engine.

In your JavaScript app.
Release: v1.2.2 A pure implementation improvement, only creating default values in the mapEnsure helper function when needed - saving memory, performance, and bundle size! github.com/tinyplex/tinybase…
1
1
Find out how my demos work!
TinyBase Meta-Feature #2: Documented Demos The demo site on tinybase.org has a few novel features that you might find pretty wild. 🧵👇 a quick guided tour
1
2
Announcing TinyBase v1.2.0! 🎉 This adds a way to revert transactions if they have not met certain conditions. Enjoy! github.com/tinyplex/tinybase…
3
v1.2.0-beta.1 is the next release candidate! This lets you roll back transactions if they have not met certain conditions. Return true from doRollback, and the Store will revert to its pre-transaction state. github.com/tinyplex/tinybase… Please give it a try: npm i tinybase@beta
3
v1.1.0 🚀 Listen to invalid data being added to a Store, allowing you to gracefully handle errors, rather than them failing silently. There is a new listener type InvalidCellListener and a method addInvalidCellListener in the Store interface. Enjoy! github.com/tinyplex/tinybase…
5
v1.1.0-beta.2 is the release candidate for v1.1.0 tomorrow. This is all about reporting invalid data. The remaining subtleties were around Schema handling: github.com/tinyplex/tinybase… npm i tinybase@beta Please give it one last spin!
1
1
Announcing v1.1.0-beta.0 🎉 github.com/tinyplex/tinybase… This one is all about error handling. There's a new InvalidCellListener type, and addInvalidCellListener method, allowing you to track and handle failed attempts to update the Store with invalid data. What do you think?
2
Help us think about how to implement error handing when setting invalid data! github.com/tinyplex/tinybase…
Did you know?
2
TinyBase is one week old! Progress so far: ⭐️ 600+ stars on GitHub 🌎 12K people on tinybase.org ⏱ ~1 min on site per visitor ❤️ on Hacker News news.ycombinator.com/item?id… 🚀 v1.0.5 released github.com/tinyplex/tinybase… 🧮 Next up: a higher-level query API... 🙏 Thank you!
1
6
TinyBase v1.0.5 🎉 This one is all about API consistency, adding iterators to each module: * Metrics.forEachMetric * Indexes.forEachIndex * Indexes.forEachSlice * Relationships.forEachRelationship * Checkpoints.forEachCheckpoint Enjoy!
1
5
TinyBase v1.0.4 🎉 This release adds: * Store.hasTables() * Metrics.hasMetric(metricId) * Indexes.hasIndex(indexId) * Indexes.hasSlice(indexId, sliceId) * Relationships.hasRelationship(relationshipId) * Checkpoints.hasCheckpoint(checkpointId) Enjoy! github.com/tinyplex/tinybase…
2
3
After just 4 days - thank you for all the love!
1
2
Did you know all of my documentation is tested?
TinyBase Meta-Feature: Tested Documentation Even if you don't have a use for TinyBase itself, there are a few things about the project that you might find interesting. One of those is the fully-tested API documentation on tinybase.org 🧵 [1/10]
If you were seeing this, please upgrade to v1.0.1 which will explicitly locate the top-level definitions.
TinyBase is a smarter way to structure your application state: * Familiar concepts of tables, rows, and cells, and schematization * Flexibly reactive to reconciled updates * Indexing, metrics, relationships, and an undo stack out of the box * Easily sync your data
1
1
Announcing TinyBase v1.0.0! 🎉 - a tiny, reactive JavaScript library for structured state and tabular data. On the web: tinybase.org On GitHub: github.com/tinyplex/tinybase
1
1
2