zubairehman / flutter_boilerplate_project

A boilerplate project created in flutter using MobX and Provider.
http://zubairehman.surge.sh/
MIT License
2.26k stars 908 forks source link

Is there any special reason why you not use bloc instead of MobX? #75

Closed Smilefounder closed 3 years ago

Smilefounder commented 3 years ago

Hi, i love your project template! Great work. As Im a starter in flutter. And there is too many topics between Bloc vs MobX. However, i would love to ask for your advice and your personal opinion.

Best regards. Huy Nguyen

zubairehman commented 3 years ago

Hi,

There are couple of reasons I didn't use Bloc pattern and these are as follows:

Bloc is also a good state management solution but as soon as your project grows then it's very hard to maintain and debug streams. Also, the other very important aspect that I see in any state management solution is that how fast I can onboard someone on my project.

Hope this answers your question.

Smilefounder commented 3 years ago

thanks a lot.