React·Advanced·Conceptual·1 min read
Why can invalid nested HTML cause hydration failure?
Short interview answer
The browser parser repairs invalid markup into a DOM different from the server's serialized structure, so React's expected tree no longer matches the actual nodes.
Key takeaway
Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.