TrailBase sync #200
Replies: 2 comments 20 replies
|
Hey! It's very cool seeing your implementation! Looks very simple — which is the plan/hope :-D We'd love to have you onboard helping collaborate. We want to build an incredibly good client lib for any sort of data loading strategy so having your unique insights, etc. around would be great. Would you like to PR your trailbase implementation to https://github.com/TanStack/db/tree/main/packages/db-collections? |
Very cool to see built-in mutations here! Curious if you have a way for custom mutators on the backend? If so, are those exposed? You perhaps could auto generate actions for use in the frontend with createOptimisticAction #210 |
Uh oh!
There was an error while loading. Please reload this page.
First and foremost wanted to say "hi" - Hi!
I have a project https://github.com/trailbaseio/trailbase, which is a SQLite-based potpourri of backend/database functionality (think Firebase, Supabase, PocketBase, ...). Among other things, you can subscribe to data changes, which I figured could be a good foundation for an efficient TanStack/db integration.
I did a minimal PoC: https://github.com/trailbaseio/trailbase/blob/main/examples/local-first/src/lib/trailbase.ts#L36, which seems to work (there's a good chance I'm still holding things wrong). Loving TanStack/db, I though this could turn out pretty sweet.
While still being early, I wanted to reach out hoping to hear your thoughts and maybe establishing an open channel or even collaboration. Either way, thanks for TanStack/db ❤️
All reactions