Closed HZSamir closed 1 year ago
Hello, Assuming I have two databases, and would like to access either through useRxDB, how would I go about it, knowing the Provider component only takes one instance of RxDB? Thank you.
useRxDB
RxDB
Hello, one way to do it would be to nest multiple Providers, each providing the db instance that is needed by its component sub-tree.
Provider
For an example please see #56
Thank you very much. Closing this.
Hello, Assuming I have two databases, and would like to access either through
useRxDB
, how would I go about it, knowing the Provider component only takes one instance ofRxDB
? Thank you.