Skip to content

[FIX] Add cleanup in useEffect - #26

Open
olros wants to merge 1 commit into
leonardokl:masterfrom
olros:patch-1
Open

[FIX] Add cleanup in useEffect#26
olros wants to merge 1 commit into
leonardokl:masterfrom
olros:patch-1

Conversation

@olros

@olros olros commented Jun 17, 2021

Copy link
Copy Markdown

Don't dispatch to reducer when the hook has been unmounted.

fixes #20

Don't dispatch to reducer when the hook has been unmounted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant