Skip to content

Commit

Permalink
Update advanced-usage.md (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLeif authored Oct 3, 2024
1 parent f975747 commit bee1dd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions documentation/advanced-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ private extension Application {
}
```

While this approach is valid for sharing state and dependencies across the application, it is not advised because it relies on manually managing IDs. This can lead to potential conflicts and bugs if IDs are not managed correctly. This behavior is more of a side effect of how the IDs work in AppState, rather than a recommended practice.

### 3.2 Restricted State and Dependency Access

To restrict access, use a unique ID like a UUID to ensure that only the right parts of the app can access specific states or dependencies.
Expand Down

0 comments on commit bee1dd5

Please sign in to comment.