@Riki how does it compare to firebase?
@Riki how does it compare to firebase? deciding between the two right now
2 Replies
There a looot of things to say, probably a blog post would be well suited, but I have no time to do it for now.
In a context of a mobile application with react-native, before starting, I would say that the surface area of Convex is similar to cloud firestore/realtime database.
So I still use firebase for push notifications or auth.
Now talking about the benefits compared to firestore:
- Realtime stream by default is just so nice. You don't have to deal with a lot of different problems like managing cache, outdated data, "complex code" for subscriptions. It just works.
- Your front-end and database is fully-typed which leads to a great DX and reduce bugs.
- Because the client doesn't directly write to the db, but instead calls some mutations, you are always sure that the clients aren't allowed to write data that they shouldn't. Instead you have a limited set of endpoints the clients can call.
- CRON jobs, pub/sub are a pain to develop on firebase, it's both hard to debug and takes time to deploy. It's super easy with Convex and takes 2 seconds to deploy
- Logs observability has a terrible UX on Firebase. On Convex it's simple and does the job.
And more...
ayy thank you this is very helpful