react-pouchdb
react-pouchdb copied to clipboard
Support for pouchdb-react-native
Thanks for your great work! Is it possible to support a variant which uses https://github.com/stockulus/pouchdb-react-native as pouchdb implementation?
I tryed replacing the three import statements and it worked fine.
Thanks in advance.
Great suggestion! Thanks for testing it works 👍 I'll implement this in the next release. Also, a create
API like this would be useful, if there are other PouchDB editions:
import PouchDB from 'pouchdb-xyz';
import { create } from 'react-pouchdb';
const { PouchDB as ReactPouchDB, useGet /*...*/ } = create(PouchDB);