Hacker News new | past | comments | ask | show | jobs | submit login

How many databases out there work with React Native? I think http://lokijs.org does with Forage, and (I work on) https://github.com/amark/gun people have been getting it to work with adapters. The comment below seems to suggest Couchbase Lite does too? What made you guys decide on Pouch for React Native apps?



Sorry, I haven't yet tried CBL together with react, so I don't know how mature that solution would be - CBL works with native ObjC/Java code, so I guess some adapters would be needed for React to work with it. This at the same time is one of my problems with React Native - it's expensive in programmer time to access resources / native libraries that aren't provided yet by the core. Just to compare with a very small project: python-for-android, there you can directly access any Java function available on the device runtime, it automatically binds to all of it. React native on the other hand seems very frameworky and boxed in, but has a great portable UI definitions and build/prototyping workflow.

I hope one day soon, after already 10 years of iPhone, we finally get a sane development environment again - with stable APIs, responsive UIs, portable code, easy networking and persistence, but at the same time fast to prototype and hook up. All the solutions I know are around 70%-80% there, there's always something that hurts badly.



"not an official couchbase plugin and is not supported in any way by couchbase"

That's what I meant with cost.

Edit: Btw. thanks for the link.


It may not be supported but the wrote a blog post about it a while ago. "Our product can be used on RN! (but don't ask us for support.)"




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: