Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

NEXT-25822 - improve documentation about data get #73

Merged
merged 1 commit into from
May 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/docs/guide/2_api-reference/data/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
With `data.get` you can receive datasets from the Shopware administration.
More information on how to find the unique identifiers can be found in [this guide](../../5_internals/datahandling.md).

Compared to data.subscribe, data.get only gives you the current state of the data. If the data is not available yet,
such as when opening a page, you won't receive any data. In these cases, it's better to subscribe to data changes instead.

#### Usage:
```ts
data.get(
Expand Down
Loading