Centralize the layout of React props and state.