renderState
Invoked when the state has changed and the UI needs to be updated accordingly.
Parameters
state
The state that will be used to render the updated UI.
Invoked when the state has changed and the UI needs to be updated accordingly.
The state that will be used to render the updated UI.