From 85742a72c3fbf169b9b41c9a7977b5dd22c83197 Mon Sep 17 00:00:00 2001 From: Henry Vogt Date: Tue, 29 Aug 2023 14:44:08 +0200 Subject: [PATCH] docs: adapt state management pattern according to moving flux to on hold --- radar/2023-09-01/state-management-pattern.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 radar/2023-09-01/state-management-pattern.md diff --git a/radar/2023-09-01/state-management-pattern.md b/radar/2023-09-01/state-management-pattern.md new file mode 100644 index 0000000..eb7ed61 --- /dev/null +++ b/radar/2023-09-01/state-management-pattern.md @@ -0,0 +1,16 @@ +--- +title: "State Management Pattern" +ring: adopt +quadrant: methods-and-patterns +tags: [architecture, coding] +--- + +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) or [Redux](/languages-and-frameworks/redux.html). + +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 depends 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.