Skip to content

Commit 4c9465b

Browse files
authored
feat(vue): Add useDLE() (#3592)
1 parent aecd59b commit 4c9465b

File tree

6 files changed

+860
-26
lines changed

6 files changed

+860
-26
lines changed

.changeset/tricky-olives-wash.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
'@data-client/vue': minor
3+
---
4+
5+
Add useDLE()
6+
7+
```ts
8+
const { date, loading, error } = useDLE(
9+
CoolerArticleResource.get,
10+
computed(() => (props.id !== null ? { id: props.id } : null)),
11+
);
12+
```

0 commit comments

Comments
 (0)