tinyplex / tinybase-ts-react-electricsql

A template for apps built with TinyBase, TypeScript, React, and ElectricSQL.
Apache License 2.0
9 stars 1 forks source link

Use-case? #1

Open MentalGear opened 6 months ago

MentalGear commented 6 months ago

Thank you for this example, and the work on tinybase in general. Would you mind explaining the use case for tinybase with electric? Both seem to provide the same feature sets, e.g. live queries for frontend reactive state.

How can tinybase be complementary to electric?

jamesgpearce commented 3 months ago

I'll maybe let the Electric folk (like @samwillis) chime in, but Electric has a philosophy of working with other front-end data layers, of which I guess TinyBase is one :)

The other approach is for people who have started with TinyBase (maybe using local storage) but then they want to graduate up to syncing data back to a server (for which Electric is a great option) without changing their front-end state system. Hope that helps!