Member-only story

What The Hell Is State Management

Fred Grott
5 min readSep 1, 2021

--

There are some confusing about state management in Flutter app development. Let me clear up state management in flutter app development.

State Management In Flutter Background

See this list:

Yeah, mixing in Dependency Injection solutions with a non explanation of state management really does clear up things, does it not?

First, so why is Dependency Injection a preparation step of state management?

Why Dependency Inject Is A Preparation Step Of State Management

In OOP, we are concerned with what we have nicknamed the dreaded-diamond-of-death or the acrylic directed graph, IE DAG:

Turns out that in Reactive concerning event messages we have the exact same problem. So in both cases we choose to dependency inject so that we do not get a dreaded diamond of death problem.

Do not get confused, as this graphic claiming measuring of state management solution performance:

--

--

Fred Grott
Fred Grott

No responses yet