The engineering notebook
RSS feed#state-management
Articles, practical guides, and engineering notes on state-management.
By Ashish Bhakhand 108 published articles
Explore the articles
8 articles
Reset filtersThe Flutter Race Conditions I Fixed with bloc_concurrency
Choose between droppable, restartable, sequential, and concurrent BLoC event handling using pagination, search, and submission examples.
Why I Keep Choosing BLoC and Equatable for Production Flutter Apps
How growing Flutter features pushed me from widget-owned state to explicit events, predictable states, and value equality.
Splitting Large TCA Features Without Losing the State Flow
Separate state, actions, reducer logic, and child domains while keeping one understandable feature contract.
Flutter Forms Are State Machines, Not Widgets
Build Flutter forms that handle touched fields, dirty values, validation, submission, and reset without mixing everything into the UI.
MVI Versus MVVM for Complex Health Application State
Use a single state and explicit events when screens combine permissions, synchronization, local data, remote data, and navigation.
The Composable Architecture in a Real Application
Use state, actions, reducers, effects, and dependencies to make complex SwiftUI behavior explicit and testable.
State Management in Flutter: Choosing the Right Level of Structure
Learn when setState is enough, when state should move out of a widget, and how Provider, Riverpod, and BLoC differ in real Flutter projects.
Clean Architecture in Flutter Without the Boilerplate
A practical Flutter architecture using models, repositories, view models, and widgets-with clear boundaries and only as much structure as the feature needs.