Skip to content

docs: clarify cache calculation challenge wording - #8588

Open
slegarraga wants to merge 1 commit into
reactjs:mainfrom
slegarraga:docs/clarify-cache-calculation-challenge
Open

docs: clarify cache calculation challenge wording#8588
slegarraga wants to merge 1 commit into
reactjs:mainfrom
slegarraga:docs/clarify-cache-calculation-challenge

Conversation

@slegarraga

Copy link
Copy Markdown

Closes #8099

Clarifies the challenge and both solutions so they don't imply the original Effect version called getVisibleTodos() on every keystroke. The text now makes explicit that the goal is to preserve the existing caching behavior while removing the Effect and the extra state round-trip.

Verified with prettier.

Signed-off-by: Sebastian Legarraga <64795732+slegarraga@users.noreply.github.com>
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

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.

Confusing explanation in Challenge 2 of React Learn ("You Might Not Need an Effect")

1 participant