Sabitlenmiş Tweet

1/6
From ex-Tech Lead on CHANEL TOUCH (Magic Mirror AR makeup · built from scratch in Swift) to daily Flutter with Redux in production.
Why we still choose Redux in 2025 on this project (instead of Riverpod)? Thread 🧵👇
#FlutterDev #Redux
2/6
Project context: Complex app, heavy shared state, offline-first, bi-directional sync, mixed senior/junior team.
Redux gives us:
• Full predictability (time-travel debugging with Redux DevTools even in prod)
• Powerful middleware for logging/analytics/Sentry
• Clear separation: actions → reducers → store
3/6
Daily hack #1: Custom middleware that logs ALL actions + anonymized state diffs in production.
Saved us hours on bugs that were “impossible to reproduce”.
Simple snippet → see reply below 👇
4/6
Hack #2: Redux + Freezed for immutable state at scale.
No more manual copyWith forgetting fields.
Combined with build_runner → zero boilerplate.
Sealed classes for actions + Freezed reducers = pure bliss.
5/6 Hack #3: Optimized StoreConnector with distinct: true + proper ==/hashCode on ViewModel (Freezed handles this automatically).
Cuts ~90% of unnecessary rebuilds on large pages.
Real-world result: 60fps → stable 120fps on mid-range Android devices.
6/6
Redux isn’t dead in Flutter — it shines on critical, scalable apps.
What’s your current state management? Redux, Riverpod, Bloc, something else?
Drop your real-world experience below — I read everything! 🐕
#Flutter #MobileDev
English

























