add data flow image

This commit is contained in:
Mads Rasmussen
2023-02-28 13:41:03 +01:00
parent 0d8216735a
commit 88eadb498e
2 changed files with 20 additions and 1 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 39 KiB

View File

@@ -26,7 +26,7 @@ With a repository we can have different data sources depending on the state of t
## Data flow with a repository
TODO: add image of data flow
<img src="docs/data-flow.svg" width="400" />
A repository has to be instanced in the context where it is used. It should take a host element as part of the constructor, so any contexts consumed in the repository (notifications, modals, etc.) get rendered in the correct DOM context.