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 33a5f45
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion package/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,12 @@ const page = await context.sanity.loadQuery<HomePage>(query, params, {
// display in the subrequest profiler, you can pass that here:
// 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 33a5f45

Please sign in to comment.