Loading…
A short voice session: one question, one follow-up, then instant feedback — up to 5 minutes.
Lowercase JSX tags are treated as HTML elements; and a component defined inside another is a new type on every render, so React remounts it and loses its state.
In JSX,