David Alonso
David Alonso10mo ago

Question about Convex showcase

Hi @Michal Srb I'm watching the video you just put out and have been enjoying it a lot so far! I've only used Firestore in the past with Flutter where you can have real-time listeners and a similar experience as with Convex in React I believe. I was wondering if the experience of using Firestore + React is similar to the TRPC + Drizzle + SQLite examples you give in the video. Thanks!
4 Replies
Michal Srb
Michal Srb10mo ago
Glad you're enjoying the video! I would say yes, Firestore by default is not reactive. And like with TRPC, it is possible to set up subscriptions/listeners, but they will not work as well as Convex reactive queries, because the underlying database where not designed with this as their primary use case.
David Alonso
David AlonsoOP10mo ago
Quick follow up - would you say Convex lets developers free themselves from using state management libraries by using Convex as a global state? Again, very new to react here so apologies if this is a dumb question
Matt Luo
Matt Luo10mo ago
General answer to this question on discord has been yes
Michal Srb
Michal Srb10mo ago
I would say, to some extent. Our belief is that most apps don't require extra client-side state management. But there are certainly a class of apps that have a very complicated frontend, that might need more than Convex+React state. There's also the whole question of offline support which we haven't had bandwidth to fully solve yet.

Did you find this page helpful?