diff --git a/README.md b/README.md
index 9cf946b..64b2819 100644
--- a/README.md
+++ b/README.md
@@ -61,7 +61,7 @@ Use these composables in your templates or components:
```vue
diff --git a/docs/api/use-fetch-like.md b/docs/api/use-fetch-like.md
index 2e28079..5662d5e 100644
--- a/docs/api/use-fetch-like.md
+++ b/docs/api/use-fetch-like.md
@@ -15,7 +15,7 @@ The composable supports every [`useAsyncData` option](https://nuxt.com/docs/api/
- `data`: the result of the asynchronous function that is passed in.
- `refresh`/`execute`: a function that can be used to refresh the data returned by the `handler` function.
- `error`: an error object if the data fetching failed.
-- `status`: a string indicating the status of the data request (`"idle"`, `"pending"`, `"success"`, `"error"`).
+- `status`: a string indicating the status of the data request (`'idle'`, `'pending'`, `'success'`, `'error'`).
- `clear`: a function which will set `data` to `undefined`, set `error` to `null`, set `status` to `'idle'`, and mark any currently pending requests as cancelled.
By default, Nuxt waits until a `refresh` is finished before it can be executed again.
@@ -91,6 +91,17 @@ const { data } = await useMyApiData('posts', {
The key can be a reactive value, e.g. a computed property.
:::
+To clear the cache for a specific request, use the `clear` function. You can then call `refresh` to fetch the data again:
+
+```ts
+const { data, refresh, clear } = await useMyApiData('posts')
+
+async function invalidateAndRefresh() {
+ clear()
+ await refresh()
+}
+```
+
## Examples
::: info
@@ -117,7 +128,7 @@ export default defineNuxtConfig({
```vue
diff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.md
index 4469456..b297935 100644
--- a/docs/guide/getting-started.md
+++ b/docs/guide/getting-started.md
@@ -91,7 +91,7 @@ Use these composables in your templates or components:
```vue
diff --git a/playground/pages/jsonPlaceholder.vue b/playground/pages/jsonPlaceholder.vue
index 8b5ed14..28ca28f 100644
--- a/playground/pages/jsonPlaceholder.vue
+++ b/playground/pages/jsonPlaceholder.vue
@@ -6,7 +6,7 @@ import type { NuxtError } from '#app'
const route = useRoute()
// Intended for similar use cases as `useFetch`
-const { data, pending, error } = await useJsonPlaceholderData(
+const { data, status, error } = await useJsonPlaceholderData(
'comments',
{
query: computed(() => ({
@@ -72,9 +72,7 @@ async function onSubmit() {