Open MQuyen123 opened 1 month ago
When the user pulls down the screen, onRefresh will be called and set refreshing to true. At that point, productContainer will receive the refreshing prop, change to true, and call fetchProduct to fetch new data. After a certain period with setTimeout, refreshing will be set back to false.
@MQuyen123