Content pfp
Content
@
0 reply
0 recast
0 reaction

Samuel ツ pfp
Samuel ツ
@samuellhuber.eth
@kam when using electric-sql to sync a select portion of the db to the user I assume one uses PGlite on both mobile (expo) and web (e.g. nextjs or expo web?) How does that differ from a custom persistence layer for react query Could one use react query for synchronous queries to the PGLite? How much data can PGLite handle? In traffic + total on device storage What would you say to questions around react query + API calls being faster development speed? I lack the frontend knowledge to answer, I pitched the benefits of local first and can’t get around the above objections as I haven’t used the tech enough. Appreciate any help🙌
3 replies
0 recast
3 reactions

Kyle Mathews pfp
Kyle Mathews
@kam
Repeating my answer from Discord haha The difference boils down to fetching vs syncing. https://x.com/kylemathews/status/1825531359949173019 Also https://x.com/kylemathews/status/1768004454534840774 And this thread from Sam https://x.com/samwillis/status/1824385175486337137
0 reply
0 recast
1 reaction