From bee1dd5ff690574853e7d1963aa090e7ba429dca Mon Sep 17 00:00:00 2001 From: Zach Date: Thu, 3 Oct 2024 17:48:31 -0600 Subject: [PATCH] Update advanced-usage.md (#112) --- documentation/advanced-usage.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/documentation/advanced-usage.md b/documentation/advanced-usage.md index 8d41637..a06d28a 100644 --- a/documentation/advanced-usage.md +++ b/documentation/advanced-usage.md @@ -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.