arrow_backBACK TO DRILLS
Blue Beltreconciliation-keyslockPREMIUM

DOM preservation across renders

A component re-renders every second because its parent passes a new time prop. The component also contains an uncontrolled where the user types text. Why does the typed text remain visible after each re-render?

lock

This Drill is Locked

This is a premium drill. Continue on to the next free drill in the sequence.

CONTINUE DRILLarrow_forward
BugDojo
BlogFAQ

© 2026. Carved in code.