In this video, I will introduce and help walk through how to use react-query mutations and invalidate the cache with these mutations.
This part of the video will be focusing on react-query useMutation and introduce query cache invalidation.
React query documentation: react-query.tanstack.com/over...
Starter Project: github.com/leoroese/reactquer...
Finished ReactQuery Tutorial Project: github.com/leoroese/reactquer...
Timestamps
0:00 Intro
1:00 Start create
2:45 useMutation
6:10 useMutation side effects
9:40 query invalidation
4 июл 2024