I want to know what is difference between getx and reverpod. I am so confused which one of these of two state management tool I will use in real projects.
CodePudding user response:
Here is a good and very recent YouTube video on the topic: https://www.youtube.com/watch?v=mxkhUYC5yF8
However, I suggest you to look at BLoC and especially using its cubits.
Riverpod in my opinion is not a good choice since they decided to completely reinvent the wheel, not using InheritedWidget but instead implementing their own solution. I would never want to be working against a framework, but rather with it.
CodePudding user response:
Obviously, both are used for state management.However, experienced Flutter devs do not recommend GetX. Do not use GetX. Do not even consider learning GetX. Within the Flutter community, GetX has a bad reputation since it was built on lies. This is the link to the official Flutter Dev subreddit explaining this lies.
The main points are:
- GetX has questionable perfomance.
- GetX is not backed by Google Devs. This was a marketing stunt.