4 ms·
Actually, the long term plan is to move away from pouchdb. Before the last major release [1] I decided to make RxDB useable with other frontend/backend database
by typingmonkey 6y ago
Actually, the long term plan is to move away from pouchdb. Before the last major release [1] I decided to make RxDB useable with other frontend/backend databases but then found out that I first should refactor some pain points.
[1] https://github.com/pubkey/rxdb/issues/1636 https://github.com/pubkey/rxdb/issues/1636
- lukevp 6y agoThat’s great to hear! Are you pubkey? If so you should put that in your profile! I hope you know that I think RxDB is a great lib and going in a good direction! I recommended it to the Supabase team a couple weeks ago. I am less long PouchDB, it feels like an old generation of this tech and not the best way to solve these problems in 2020.
- typingmonkey 6y agoI updated my profile. I do not know supabase, is it similar to hasura? They spend quite some effort [1] to make the RxDB graphql replication working with their backend. Maybe supabase can use a similar wrapper over GraphQL. [1] https://hasura.io/learn/graphql/react-rxdb-offline-first/introduction/ https://hasura.io/learn/graphql/react-rxdb-offline-first/int...
- adav 6y agoCool! I was just thinking that RxDB + Hasura would be pretty nifty for an offline-first MVP and here the legwork has already been done :)
- kiwicopple 6y agoHey there, I'm the CEO of Supabase - we're pretty new (YC S20). We've been considering using RxDB. I'm especially excited about the changes you have planned for the next version. I'd love to chat whenever you have time - my email is in my profile.
- k__ 6y agoAh, nice. Does it work with AppSync? It seems to me that Amplify/DataStore is a product like RxDB, and they use AppSync as backend. Edit: I just saw it seems to integrate custom GraphQL, so it probably a direct competitor to DataStore in that regard.
- typingmonkey 6y agoNo it does not work with appsync, but it could be hacked into doing that by modifiing the GraphQL plugin. There would be a huge value in replacing the aws datastore mainly because of its missing basic features like complex queries or queries with sort params.
- k__ 6y agoAh good to know you already looked into that :D Thanks for the info!
- typingmonkey 6y agoYes I did :D . I wrote a full master thesis about the differences and tradeoffs of these "realtime" databases.
- jadbox 6y agoI also would be highly interested in picking up RxDB if it can integration with either AppSync or PostgreSQL. I guess with the later- would it be possible to use RxDB with the GraphQL plugin against Postgraphile? Feels like a lot of 'magic', but it would be great something like this just worked.