react-pouchdb icon indicating copy to clipboard operation
react-pouchdb copied to clipboard

Uncaught Promise error in concurrent mode

Open pejman1 opened this issue 4 years ago • 0 comments

I would appreciate if someone could help me in this issue. Whenever I use react-pouchdb/concurrentmode I got Uncaught Promise error and Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in a useEffect cleanup function.

could somebody send me an example code of concurrent mode

pejman1 avatar Jun 17 '20 15:06 pejman1