SpeeDfire12
SpeeDfire12

Reputation: 67

Is GetX state management faster than Bloc? - Flutter

I have a quick question about state management in Flutter. I am into GetX for a while especially when it comes to state management, but it makes me wonder what's actually faster - GetX state management or Bloc? I am talking only about state management and no other additional possibilities that comes with GetX. Is the difference in the speed between those two packages even that big enough that should matter?

Upvotes: 0

Views: 2724

Answers (2)

PixelToast
PixelToast

Reputation: 965

Generally, the performance of state management doesn't matter that much, it's a small fraction of the time spent in Flutter's render pipeline.

The DevTools performance view is an excellent way of illustrating this.

Upvotes: 3

Dheeraj Bhavsar
Dheeraj Bhavsar

Reputation: 57

It totally depends upon how you write and structure your code. GetX just removes the Boilerplate code for you and makes life easier. To make your app faster, avoid using Functional widgets inside ListView/ScrollView. Here's a video which might help you improve the performance of your app: https://www.youtube.com/watch?v=vVg9It7cOfY

Upvotes: 1

Related Questions