React expects render functions to be pure so the same inputs produce the same JSX without side effects.