redux-toolkit.js.org/rtk-query/usage/queries
2 Users
0 Comments
6 Highlights
0 Notes
Top Highlights
The latest returned result for the current hook arg, if present.
Returns a tuple with a trigger function, the query result, and last promise info
Similar to useQuery, but with manual control over when the data fetching occurs
useLazyQuery
the trigger function takes a second argument of preferCacheValue?: boolean in the event you want to skip making a request if cached data already exists
Defining Query Endpoints
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.