A reactive data store & sync engine.

In your JavaScript app.
Aaaand... we just pushed a Vite template so you can get your TinyBase and @ElectricSQL PGlite adventures started in a matter of seconds! github.com/tinyplex/vite-tin…
2
23
1,642
Updated release notes are in github.com/tinyplex/tinybase… and as usual, install it with `npm i tinybase@beta` - enjoy!
2
2
1,043
Nearly there with the v5.2 release. And it looks like we'll be able to sneak in a special surprise... support for the incredible new PGLite project from @ElectricSQL! Yep, if this works out, you should be able to run TinyBase and PostgreSQL 𝘪𝘯 𝘺𝘰𝘶𝘳 𝘣𝘳𝘰𝘸𝘴𝘦𝘳 🤯
2
6
69
6,111
The TinyBase Vite templates look a bit meh. Should we upgrade them all to use @tailwindcss, @shadcn etc? Or would that be too opinionated for getting started with the basics? Thoughts welcome!
5
4
28
2,558
TinyBase retweeted
Replying to @DexieJS
Update: hit some problems with broken type safety and confusing docs. Sorry Dexie! Pivoted to @tinybasejs and WOW. This is how every open source project should do docs. Joy to get started.
2
1
16
3,049
TinyBase retweeted
@tinybasejs has been a revelation, and handled all my crazy ideas so far. Thank you @jamespearce for providing an easy to get started and proper engineered foundation for anyone looking to build local first. I’m going to build so many TinyBase apps.
1
1
2
566
TinyBase retweeted
🎉 Want to get started quickly with TinyBase and React Native? We have a new @expo template! Just a single command gets you up and running 🤯 Enjoy!
3
17
100
13,969
TinyBase retweeted
🆕 "Local-first architecture with Expo" is a new guide we published to introduce people to local-first software tools and resources. It includes some details about tools like @tinybasejs, SQLite, Yjs, @prisma and more...check it out and let us know if we're missing important tools or pieces of content. docs.expo.dev/guides/local-f…
2
16
99
5,696
This is another @tinybasejs pattern I love. Keep external properties (like cookies, connectivity, etc) in an app 'state' Store and have a single component manage them. All the useEffect noise is hidden away. The rest of the app just accesses the values via clean reactive hooks.
4
20
1,571
TinyBase retweeted
Replying to @brmadev @linear
It's a wild west of tech right now, but there's some promising solutions: - Replicache: boilerplate heavy but the most mature replicache.dev/ - @ElectricSQL: More opinionated, pretty new electric-sql.com/ - @tinybasejs: Expo's tool of choice tinybase.org/
6
4
37
6,190
🎉 Onboard the v5.2.0 beta release train! 🚅 TinyBase can now save data to @PostgreSQL, load it back - 𝘢𝘯𝘥 𝘭𝘪𝘴𝘵𝘦𝘯 𝘵𝘰 𝘤𝘩𝘢𝘯𝘨𝘦𝘴 - thanks to the excellent postgres module from @RPorsager. It's an early release, but please let us know if you have any feedback...
5
6
75
5,256
...and hear about some of my inner-workings!
Join us tomorrow for the always-awesome monthly Local First Meetup on Discord. I'll be up third, claiming that "CRDTs are the easy part". See you there!
2
7
1,075
🤐
Going to be a long weekend.
32
1,837
🔊 Want to know more about TinyBase? Check out this new podcast episode, with thanks to the awesome @localfirstfm team!
Episode #12 is out. James Pearce (@jamespearce) on building @tinybasejs, how it works and unsolved problems in local-first.
10
974
More about the demo, and the source, here: github.com/expo/examples/tre…
2
612
TinyBase retweeted
🎉 TinyBase v5.1 beta - with server persistence! This release lets you persist data on a web-socket server that's synchronizing local-first clients. It's the first beta, so there might be some rough edges. Please give the tires a kick and let us know how it goes!
3
4
51
3,647
Find out more on tinybase.org/ (Which is now replete with some animated SVG bling to explain what's going on! 😍)
1
459
🎉 TinyBase v5.1 - "The One With Server Persistence" This release lets you persist a Store on your web-socket server. This means that everyone can go offline & clear their cache, but they will still get the server data again when they reconnect. Please take it for a spin!
2
6
63
4,290