I believe sync is a fundamental part of modern app development. Hopefully I can help make it easier.
Please follow along!
I believe sync is a fundamental part of modern app development. Hopefully I can help make it easier.
Please follow along!
Surely it should default to use more low-level and efficient primitives than abstractions that were often only designed for human DX.
Surely it should default to use more low-level and efficient primitives than abstractions that were often only designed for human DX.
For example, as I experimented building more complex apps, I soon realized I also needed to manage background tasks more intelligently: `setTimeout` and yolo just isn't good enough!
So now we have TinyTick 🤣
Most intelligent and local-first web applications need background tasks like fetching, syncing, and cache eviction.
But managing them - with scheduling, failure handling, retries, and so on - can be a pain.
For example, as I experimented building more complex apps, I soon realized I also needed to manage background tasks more intelligently: `setTimeout` and yolo just isn't good enough!
So now we have TinyTick 🤣
TinyBase - The reactive data store for local-first apps by James Pearce @jamespearce.bsky.social
TinyBase - The reactive data store for local-first apps by James Pearce @jamespearce.bsky.social
The highest C (chroma) values for a given L (lightness %) that let you display any H (hue) on a P3 display without fallback:
L=20% C=0.04
L=30% C=0.06
L=40% C=0.09
L=50% C=0.11
L=60% C=0.13
L=70% C=0.15
L=80% C=0.1
L=90% C=0.05
(Thanks @evilmartians.com! 🚀)
The highest C (chroma) values for a given L (lightness %) that let you display any H (hue) on a P3 display without fallback:
L=20% C=0.04
L=30% C=0.06
L=40% C=0.09
L=50% C=0.11
L=60% C=0.13
L=70% C=0.15
L=80% C=0.1
L=90% C=0.05
(Thanks @evilmartians.com! 🚀)
@cloudflare.social Durable Objects are a perfect cloud companion for TinyBase, with web socket sync & strongly consistent storage.
We want this to be the easiest way to build local-first apps, anywhere.
And we couldn't be more excited to let you try it! 👇
We had feedback that it's hard to understand all the different ways that TinyBase can be used!
So... our new guide runs through many of the ways you can persist & synchronize data - both natively and with other platforms.
Link below! 👇
We had feedback that it's hard to understand all the different ways that TinyBase can be used!
So... our new guide runs through many of the ways you can persist & synchronize data - both natively and with other platforms.
Link below! 👇
Fully synced real-time clients, with Durable Objects as a server source of truth?
This is the entire server code:
Please help by nominating other accounts to add! 🙏
go.bsky.app/B3kfK2C
Please help by nominating other accounts to add! 🙏
go.bsky.app/B3kfK2C
TinyBase v5.4 is going to be fun!
TinyBase v5.4 is going to be fun!
Like for a follow if I haven’t found you yet!
Like for a follow if I haven’t found you yet!
In this blog post from the seafaring father of TinyBase, James Pearce, you will learn how to use TinyBase in your Expo app to build local-first apps and enable data synchronization with other devices and users.
🔗 expo.dev/blog/how-to-...
In this blog post from the seafaring father of TinyBase, James Pearce, you will learn how to use TinyBase in your Expo app to build local-first apps and enable data synchronization with other devices and users.
🔗 expo.dev/blog/how-to-...