cyntler / cyntler/react-doc-viewer

Warning: Can't perform a React state update on an unmounted component.

Open
#143 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
481
Forks
147
PR merge metrics
No merged PRs in 30d

Description

I am getting this error:

```
Warning: 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.
at LoadingTimeout...
```
I have tried using useMemo and useEffect, also this error persist only for rendering PDFs. I think it is because is unmounting and mounting..

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.