Replies: 1 comment 1 reply
-
Hi @thdoan! We do indeed use the BLoC pattern inside our Flutter focused templates, which is our (see VGV's) preferred state management solution. We have a (semi-dated) article about why we choose BLoC that might be of interested for you to read: Why we use BLoC. In my personal opinion both options are solid and equally future proof. Both @felangel (the creator of the bloc package) and @rrousselGit (the creator of Riverpod) actively maintain their respective solutions and will do so for the foreseeable future. I however do think this discussion is better suited for the Flutter Forum or the packages respected Discord servers (Bloc's discord server, Riverpod's discord server) instead of the CLI's discussions area. We want to keep this focused on the CLI itself and potentially the templates (but the Very Good Templates repository fits that even more so). I am going to close this conversation because of the before mentioned reason, but feel free to reach out to me on either discord server if you choose to join. I am always open to discuss opinions and solutions. More people from VGV are also in the Bloc's discord server and @felangel is also always around to answer any questions you might have related to the bloc package. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm about to start on my Flutter journey and getting ready to use very_good_cli to bootstrap my first project. I noticed that it uses Bloc for state management. During my initial research into Flutter development, I read a lot of articles recommending Riverpod, which is developed by the same person who created Provider and is supposed to be like the next-gen Provider.
What are your thoughts on Bloc vs. Riverpod for Flutter apps in 2025? If one is on the way out and the other is the future, then I'd like to pick the more future-proof stack. Or please let me know if they are more or less equal but just different animals, and it's nothing a newbie like me should be thinking about at this stage 😅
Beta Was this translation helpful? Give feedback.
All reactions