Skip to main content
⚛️

React

Component-based UI. Understand the rendering model, hooks, and performance — not just the API.

Topics

Mental Model
React re-renders a component whenever state or props change. The virtual DOM diffs the output and applies only the minimal DOM changes. Understand this before optimizing.
💡 Interview Tip
Know when NOT to use useCallback and useMemo — premature optimization with these hooks can actually hurt performance due to the overhead of memoization.