[docs] Clarify when `getInitialState` is called.