brianegan / flutter_architecture_samples

TodoMVC for Flutter
http://fluttersamples.com/
BSD 3-Clause "New" or "Revised" License
8.74k stars 1.71k forks source link

What is better between BLoC and Redux? #179

Open Allan-Nava opened 4 years ago

Allan-Nava commented 4 years ago

What do u suggest?

luiz-rocha commented 4 years ago

You have to change your questions. What is better for me? What is better for the project I am developing? Should I learn only one or learn various and adapt to when they are needed? If there's a project in mid-development already using one architecture, what should I do?

Allan-Nava commented 4 years ago

You have to change your questions. What is better for me? What is better for the project I am developing? Should I learn only one or learn various and adapt to when they are needed? If there's a project in mid-development already using one architecture, what should I do?

You're right!

akmadan commented 1 year ago
  1. What is better for me? - If you are new to both, then try to go through the docs of both, try to see the examples, then choose one of them whichever you find easy to shift your current state management.
  2. What is better for the project I am developing? - For this you also need to check your team, the one they are comfortable with, they are equipped with. If you are alone in the project then same answer as above.
  3. Should I learn only one or learn various and adapt to when they are needed? - No need of learning multiple state managements, Provider, Bloc are more than enough to create any app.
  4. If there's a project in mid-development already using one architecture, what should I do? - Then check if that architecture has enough resources to refer, has a big community to maintain it or not, otherwise try shifting to a more stable and famous architecture.