Member-only story

Why And How Flutter Is A Reactive Framework

Fred Grott
8 min readAug 30, 2023

State management is easier if you understand the underlying data structures the Flutter framework uses to implement its reactive and react programming nature.

So I will cover this in this way:

1. What Is Reactive Programming

2. What Are Data Mathematical Trees and Graphs

3. The Two Reactive Data Flows In The Flutter Framework

4. Interfaces To The Reactive Data Flow Layers

5. React Native vs Flutter

What Is Reactive Programming

Reactive programming has two things. One, it is always declarative programming. The second requirement, is that there is a data stream flow of events.

In imperative programming, namely OOP, setting a equals b plus c would mean that a is being assigned the result of b plus c in the instance the expression is evaluated. And that presents a problem in state management as if we change b and c later after the expression has been instantiated then A will have the wrong state value.

In declarative programming, the equation a equals b plus c operates during changes, with changing b and or c updating a. The challenge is how to implement that in such a way that there does not result in a

--

--

Fred Grott
Fred Grott

No responses yet