'What is defference between getx and reverpod?
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.
Solution 1:[1]
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 these lies.
The main points are:
- GetX has questionable perfomance.
- GetX is not backed by Google Devs - this was a marketing stunt.
Solution 2:[2]
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.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | |
Solution 2 | Inf0rmatix |