another react native tech stack question
Going down a rabbit hole of grpc and then realised it's not even supported by expo management workflow
What i wanted to achieve
+ offline first
+ good sync experience
+ single source of truth, like schema first, hence i was playing around with grpc
+ cheap to run
+ good dx (ideally)
Some thoughts so far, watermelondb + hasura-graphql
This might not match with the schema first experience that im after
Db Migration might be a bit of a pain point
keen to hear other's thoughts and experiences here
1 Reply
If anyone was wondering, the approach i took was integration with supabase baas
supabase legend-state offers local first
I have changed my mindset and realised for a simple offline app, i never needed sql to begin with, just json will do
Supabase legend-state handles all the syncing in the background in the case the user deletes the app + returns or shares with their friend
Pricing seems fair for what im trying to achieve, probably the cheapest actually only second to self host (might be wrong)
Edge function is more than enough, may as well do microservices if i need even more flexibility
Supabase declarative schema + migration + type gen seems solid