4

State Management Patterns and Their Implementations

There are two notions in state management that are often confused but are quite different: patterns and tools. While a lot of developers argue about the tools, the real thing that you should consider is the pattern, and you should select your tools based on the pattern that suits you the best.

But what do we mean when we say tools or patterns?

Patterns are like guidelines or instructions on how to solve common problems. They’re generally independent of the frameworks and programming languages and operate at a higher level of abstraction. Meanwhile, tools are specific and often opinionated implementations of the patterns. For example, MVI is a pattern, but the flutter_bloc library is a tool ...

Get Flutter Design Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.