Code Unpacked / Review quiz

Vue Vapor · Architectural review exercise

20 distinct checks across compilation, ownership, scheduling, component contracts, SFC dispatch, two renderer adapters and evidence limits. A score measures understanding of this snapshot, not PR approval readiness.

20 of 20 requested questions

Choose one answer per question, then check your understanding. Unanswered questions earn no points. Change an answer and resubmit to try again.

Source revision: 3a3bd842cad433462697f329c3dceaf274b3847d

1. Which component fills the missing stage in this captured client compilation path?

A missing compilation stage

The diagram leaves one stage between the template AST and DOM-oriented codegen.

2. A node transform returns an exit callback. When is that callback applied relative to other exit callbacks?
3. Two component instances invoke the same static template factory outside hydration. What should the factory return?
4. Why does genBlockContent capture child/next/nthChild references before creation operations?
5. Does every interpolation necessarily create its own ReactiveEffect in this snapshot?
6. A v-if branch is replaced. Which review invariant prevents detached DOM from retaining the old branch work?
7. A reactive value changes but createIf still selects the same branch factory. What preserves that branch?
8. When a keyed item block is retained at a new position, how does its displayed item value update?
9. A proposed compiler optimization marks a list FAST_REMOVE even when it has static siblings. What must be checked first?
10. After renderEffect has run initially, a dependency changes. When does its dirty-checked DOM job normally rerun?
11. Which source-backed interpretation of these ambient values is correct?
12. How should a compiler-generated static-named raw prop be passed to createComponent?
13. Why must declared emit listeners be filtered from attrs at a mixed renderer boundary?
14. Why does createSlot cache slot._bound?
15. What is the Vapor custom-directive cleanup seam in this snapshot?
16. In the compiler-selection diagram, which backend fills the branch for ssr=true, even when vapor=true?

Backend dispatch with a gap

The true SSR branch is missing a backend label.

17. Which correction matches the source for this deliberately mistaken candidate relationship?

Candidate with an incorrect arrow

This candidate incorrectly assigns runtime child rendering to compiler transforms.

18. How does a VDOM parent update an already mounted Vapor child through the adapter?
19. What does the hydration mismatch code support claiming?
20. What is the most defensible conclusion from the captured interop tests?

Coverage and limitations

This learning exercise checks 20 questions against the captured source. A score does not establish code correctness, complete review coverage, or readiness to approve. Correct answers are stored in this self-contained page.

Answers stay in memory; refreshing the page resets your progress. This page makes no network requests.