Skip to content

feat(performance): rules for unread effect dependencies and multi-step async protocols - #172

Closed
MajorLift wants to merge 4 commits into
mainfrom
jongsun/add/hooks-effects-restart-keys-and-protocols
Closed

MajorLift wants to merge 4 commits into
mainfrom
jongsun/add/hooks-effects-restart-keys-and-protocols

Conversation

@MajorLift

@MajorLift MajorLift commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Folded into #170, which now carries these four commits alongside the mobile React Compiler references.

Closing this one. The branch jongsun/add/hooks-effects-restart-keys-and-protocols is left in place and is no longer the source of truth for this content.

It was stated only as an effects rule, and the cost it names is a compiler cost:
an entry the effect never reads makes the compiler skip the whole function, so
the hook ships unmemoized. Someone asking what loses them compiler coverage
opens the compiler overlay, where the rule was absent. Zero hits for it across
all four react-compiler surfaces before this.
@MajorLift MajorLift closed this Sep 18, 2026
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.

1 participant