6 curated questions
Frameworks & UI Architecture
Component models, state, rendering strategies, and application structure.
- 01foundation · 8 min
How do you decide whether a component should be controlled or uncontrolled?
Compare parent-owned state with component-owned state and define the contract for synchronization.
- 02intermediate · 10 min
How do you choose component boundaries in a growing frontend?
Use cohesion, ownership, reuse pressure, change frequency, and accessibility semantics—not line count.
- 03intermediate · 9 min
Why is duplicating derived state in a UI component risky?
Distinguish source state from computed values and identify synchronization bugs.
- 04advanced · 12 min
What is hydration, and why do islands architectures reduce client JavaScript?
Explain server-rendered HTML, client reconciliation, hydration boundaries, and selective interactivity.
- 05advanced · 15 min
What is the mental model for client-side routing?
History, soft navigation, data loading, pending UI, scroll restoration, and the difference between a URL change and a full document load.
- 06advanced · 12 min
When should a UI workflow be modeled as a state machine?
Use explicit states and transitions when async workflows have mutually exclusive phases and guarded actions.