Closed xzecakular closed 2 months ago
Yes it is not an official package. Yes, the custom reactivity enables you to use react hooks or preact signals to get non-rxjs stuff out of RxDB if you do not need observables.
Could you elaborate on how to set up custom reactivity for hooks?
No I think the docs explain it pretty good. If something is missing please read the code.
Hi everyone,
What is the recommended approach for using RxDB with React.js? For example, how can one effectively use CRUD methods of
RxCollection
orRxDocument
in a React app? I know about rxdb-hooks package that provides sort of a bridge between RxJS and React. This package is even mentioned in one of the articles, but it seems unmaintained lately - the last commit was on Mar 17, 2023, more than 16 months ago at the time of writing. Also, as I understand it, it is not one of the official RxDB packages, correct?Another thing that caught my eye is Custom reactivity, mentioned here and here. Can this feature help with "integrating" RxDB with React?
Many thanks for your replies.