I am just looking forward to understanding the difference between using a normal setState(() {})
and the update()
method of the Getx
package.
As much as I can see from the practical point of view when setState(() {])
is used the whole page is rebuilt but when GetX has used only the part of .obs is rebuilt. What I want to understand is more in-depth difference.
setState will refresh the whole widget. But using the Getx you can refresh the particular widget.
More you can find from this link : Getx Controller