The CSS Box Model (Deep but Practical)
Content, padding, border, margin; box-sizing; and how it affects layout calculations.
Practice
Search by concept, narrow to a roadmap, or pick a tag to focus on the exact topic you want to rehearse.
91 articles · page 10 of 11
Content, padding, border, margin; box-sizing; and how it affects layout calculations.
Specificity rules, common traps, and practical strategies to avoid fighting CSS.
Practical performance levers: memoization, splitting, virtualization, and avoiding unnecessary renders.
How to build and name custom hooks, and what makes them testable and reusable.
Context basics, performance implications, and alternatives like composition.
How to think about form inputs, refs, and when each approach makes sense.
How React batches state updates and what it means for setState and derived state.
When effects run, how dependency arrays work, reference stability traps, and avoiding stale closures.
Core building blocks: props vs state, one-way data flow, and when to lift state up.