|
|
|
|
|
by tracker1
2797 days ago
|
|
Well, you usually have more than one layer of state... a holistic application state, and a control/component state. It's possible to completely separate out your state machine and use it separately from rendering... It's also possible to integrate it all. Best practices are generally somewhere in between and having your state where needed... if it can be contained, contain it... if multiple controls need it, globalize/context it. |
|