What is defference between getx and reverpod?

Viewed 1963

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.

3 Answers

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:

  1. GetX has questionable perfomance.
  2. GetX is not backed by Google Devs - this was a marketing stunt.

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.

The difference is that Riverpod follows unidirectional data flow and getx doesn't.

Related