Update State Management

This commit is contained in:
Erik Frister
2021-06-22 10:08:31 +02:00
parent 76158ee9b1
commit d5aed34763

View File

@@ -1,13 +1,15 @@
---
title: "State Management Pattern"
ring: adopt
quadrant: languages-and-frameworks
quadrant: methods-and-patterns
---
State Management is a design pattern with the goal of separating domain representation from state management.
State Management is a design pattern with the goal of properly sharing state data across components and separating domain representation from state management.
This pattern is applied by many popular web frameworks such as [Vuex](/languages-and-frameworks/vuex.html), [Redux](/languages-and-frameworks/redux.html) or [Flux](/methods-and-patterns/flux.html).
Especially in [reactive](/methods-and-patterns/reactive-programming.html) systems, this pattern helps to solve the task of maintaining decoupled, stateless and immutable components. The ways of implementing state management differs and depend on the specific requirements of the application at hand.
Especially in [reactive](/methods-and-patterns/reactive-programming.html) systems, this pattern helps to solve the task of maintaining decoupled, stateless components with immutable data. The ways of implementing state management differs and depend on the specific requirements of the application at hand.
For distributed backend systems one might want to utilize [Akka's](/languages-and-frameworks/akka.html) cluster sharding module to elastically manage domain object states.
We use the various state management patterns across most [Vue](/languages-and-frameworks/vue.html) and [React](/languages-and-frameworks/react.html) projects that warrant them.