Skip to content

Remove arguments warning for useMemo/useCallback hooks#2870

Merged
marvinhagemeister merged 1 commit intopreactjs:masterfrom
afzalsayed96:debug-hooks-warning
Dec 18, 2020
Merged

Remove arguments warning for useMemo/useCallback hooks#2870
marvinhagemeister merged 1 commit intopreactjs:masterfrom
afzalsayed96:debug-hooks-warning

Conversation

@afzalsayed96
Copy link
Copy Markdown
Contributor

Fixes #2758

@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 100.0% when pulling 5d186af on afzalsayed96:debug-hooks-warning into 0214d85 on preactjs:master.

Copy link
Copy Markdown
Member

@JoviDeCroock JoviDeCroock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much for the PR, sorry about the failed CI checks noise they aren't running for forks currently.

@marvinhagemeister marvinhagemeister merged commit 3334d6e into preactjs:master Dec 18, 2020
@marco-koenen
Copy link
Copy Markdown

Hi all, when can I expect this PR to be merged into @preact/compat?

@marvinhagemeister
Copy link
Copy Markdown
Member

marvinhagemeister commented Jan 6, 2021

@marco-koenen The @preact/compat package ist just a proxy package that imports everything from preact directly. So just need to update preact itself in your package.json.

@marco-koenen
Copy link
Copy Markdown

Ah perfect - makes sense! Thanks a lot.

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.

[preact/debug] false positive complain about memoization

5 participants