C4 State and freshness
12 minSuggested first: L23 Parsing and code generation
Outcome
Use the stated rules to explain a reducer step, an effect rerun, and a cache miss.
The case
A toy app stores a count, displays it only while a switch is on, and caches a separate report
with a TTL of 30 seconds. A reducer increments the count on add. The view tracks only the
properties it read in its latest completed run. The report cache is well below its capacity.
Each item has one accepted answer and can be retried; after a miss, the review link names the lesson to revisit.
Checkpoint items
Review
Review beyond the score. Explain which rule answers each question. If your explanation assumes a behavior the case doesn't state, rewrite it using the stated evidence. Then move on to the capstone, after reviewing any misses.