Choosing the Right Approach
Learn to choose the right approach for state management.
We'll cover the following...
Overview
As GetX provides many options for state management, choosing the right approach is important. Now the approach we choose depends on a variety of aspects. In this lesson, we’ll go through each approach and discuss the scenarios for using it.
GetBuilder
Simpler implementation:
GetBuilderuses internal callbacks to update the state, and it cannot get any simpler than that.Performant: The simple implementation results in performance. If all you care about is the app’s performance, use
GetBuilderwithout thinking twice.Refined control: Since we manually update the widgets, we get refined control over which widgets to update and when to update them.
A ton of options:
GetBuilderhas the most options of any approach. We get life cycle controls, ...