You Might Not Need an Effect
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- medium
- Pro
A component stores a list of items and a filter, and uses an effect to copy the filtered list into a third piece of state whenever either changes. The screen flickers with stale results for a moment. Explain what's wrong and how you'd simplify it.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.