Skip to content

Commit 632558a

Browse files
Update 17/umbraco-cms/customizing/foundation/repositories/README.md
Co-authored-by: Andy Butland <abutland73@gmail.com>
1 parent 7b2ba0c commit 632558a

File tree

1 file changed

+1
-1
lines changed
  • 17/umbraco-cms/customizing/foundation/repositories

1 file changed

+1
-1
lines changed

17/umbraco-cms/customizing/foundation/repositories/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The data flow when using a repository can be illustrated as follows:
3131

3232
Often, you will find that data is already available and observable in a [context](./contexts/README.md). In that case, subscribing to the context [state](./states.md) will be the right approach to take. This way, you will receive all runtime updates that occur to the data throughout the session.
3333

34-
If the needed data isn’t available in a context, use a repository to request the data. This will give you that correct data no matter the current application state.
34+
If the needed data isn’t available in a context, use a repository to request the data. This will give you the correct data no matter the current application state.
3535

3636
In the example below, we instantiate the `UmbDocumentItemRepository` directly in a custom element to request Document Item data by its unique key.
3737

0 commit comments

Comments
 (0)