cyntler / cyntler/react-doc-viewer
Warning: Can't perform a React state update on an unmounted component.
Open
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.