Xem thêm 6774 lượt xem useStateWithPromise: Một custom hook chờ đợi trạng thái cập nhật của useState Devsne VN