
initialData: "Real" Data That Gets Cached This is treated as actual data that came from your API. It gets stored in the cache and affects query states: function useUserProfile(userId) { return useQuery({ queryKey: ['user', userId], queryFn:...
Obsessed with crafting software.
Just a guy who loves to write code and watch anime.
Markdown supported · ⌘↵ to post
No responses yet.