arrow_backBACK TO DRILLS
Blue Beltrendering
Mutating a Shared Object Between Two JSX Elements
A component creates an object called styles, passes it into <Header styles={styles} />, and then mutates styles.size before rendering <Footer styles={styles} />. Why can this lead to inconsistent UI?