Skip to content

Commit

Permalink
docs: adjust readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nkgentile committed Nov 3, 2024
1 parent 853f460 commit 26f953d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,11 @@ const page = await context.sanity.loadQuery<HomePage>(query, params, {
// debug: {
// displayName: 'query Homepage'
// }

// You can also pass a function do determine whether or not to cache the response
// shouldCacheResult(value){
// return true
// }
},

// ...as well as other request options
Expand Down

0 comments on commit 26f953d

Please sign in to comment.