State
You might say
After the submit button is clicked, show Saving, then update the message on success or failure.
State is information the interface needs to remember right now and that can change from actions or results.A form submitting, a modal being open, a cart count, and the active filter are all state. A component shows different output from those values. State is not the component itself, and not every long-lived record belongs only in page state.
Know first
UI State
Further reading