<s>
State	B-Application
management	I-Application
refers	O
to	O
the	O
management	O
of	O
the	O
state	O
of	O
one	O
or	O
more	O
user	B-Application
interface	I-Application
controls	O
such	O
as	O
text	O
fields	O
,	O
OK	O
buttons	O
,	O
radio	O
buttons	O
,	O
etc	O
.	O
</s>
<s>
in	O
a	O
graphical	O
user	B-Application
interface	I-Application
.	O
</s>
<s>
In	O
this	O
user	B-Application
interface	I-Application
programming	O
technique	O
,	O
the	O
state	O
of	O
one	O
UI	O
control	O
depends	O
on	O
the	O
state	O
of	O
other	O
UI	O
controls	O
.	O
</s>
<s>
As	O
applications	O
grow	O
,	O
this	O
can	O
end	O
up	O
becoming	O
one	O
of	O
the	O
most	O
complex	O
problems	O
in	O
user	B-Application
interface	I-Application
development	O
.	O
</s>
<s>
Instead	O
,	O
you	O
can	O
use	O
a	O
state	B-Application
management	I-Application
pattern	O
for	O
handling	O
messages	O
(	O
this	O
may	O
also	O
include	O
handling	O
error	O
messages	O
and	O
informative	O
messages	O
,	O
along	O
with	O
the	O
described	O
welcome	O
message	O
)	O
and	O
then	O
call	O
this	O
to	O
receive	O
a	O
message	O
as	O
it	O
becomes	O
available	O
.	O
</s>
<s>
Examples	O
of	O
state	B-Application
management	I-Application
libraries	O
include	O
Pinia	O
as	O
a	O
state	B-Application
management	I-Application
library	O
for	O
the	O
Vue.js	B-Language
JavaScript	O
framework	O
.	O
</s>
<s>
The	O
Angular	B-Language
framework	O
includes	O
its	O
own	O
library	O
using	O
Observables	B-Language
called	O
RxJS	O
and	O
Redux	B-Language
is	O
a	O
general-purpose	O
state	B-Application
management	I-Application
library	O
that	O
can	O
be	O
used	O
with	O
any	O
of	O
the	O
above	O
frameworks	O
or	O
other	O
view	O
libraries	O
,	O
but	O
is	O
very	O
commonly	O
used	O
with	O
the	O
React	B-Application
library	O
.	O
</s>
<s>
As	O
the	O
documentation	O
in	O
Redux	B-Language
alludes	O
,	O
many	O
of	O
these	O
state	B-Application
management	I-Application
libraries	O
are	O
lightweight	O
and	O
can	O
be	O
replaced	O
by	O
each	O
other	O
.	O
</s>
<s>
It	O
's	O
also	O
possible	O
to	O
roll	O
your	O
own	O
based	O
on	O
a	O
publish	B-Operating_System
–	I-Operating_System
subscribe	I-Operating_System
pattern	I-Operating_System
where	O
your	O
interface	O
components	O
(	O
like	O
form	O
fields	O
,	O
buttons	O
,	O
and	O
messages	O
)	O
listen	O
to	O
a	O
centralized	O
data	O
store	O
in	O
your	O
application	O
for	O
new	O
changes	O
.	O
</s>
