All About TanStack Query v5

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

I had to make a v4 -> v5 migration and this video helped me to adapt useQuery and useMutation hooks easily. Timestamps would be useful here, btw.

CastleShield
Автор

Always use big fonts, most of the time I use mobile to watch your videos

sushantjadhav
Автор

Hi Dominik D, I'm encountering an issue with mutation(v5). I create a new post and use invalidateQueries in the onSuccess of useMutation, but invalidateQueries seems not to be working. In onSuccess, I call invalidateQueries and then navigate to the list display page. That means I have 2 pages: 1 is the list of posts and 2 is the post creation form. On the list page, I proceed to delete a post and call invalidateQueries, then it seems to work fine. I hope you can provide some insight. Thank you.

keepitreal-jsli