-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix docs for mutating shared state. #3580
base: main
Are you sure you want to change the base?
Conversation
@@ -33,6 +33,7 @@ system, such as SQLite. | |||
* [Observing changes to shared state](#Observing-changes-to-shared-state) | |||
* [Initialization rules](#Initialization-rules) | |||
* [Deriving shared state](#Deriving-shared-state) | |||
* [Concurrent mutations to shared state](#Concurrent-mutations-to-shared-state) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm moving this up higher because it's important to know this before the testing material.
same piece of shared state from multiple threads, and hence race conditions are possible. See | ||
[Mutating Shared State][mutating-shared-state-article] for a more in-depth explanation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And I'm linking out to the dedicated "Mutating Shared State" article over in the Sharing repo.
#### Previews | ||
|
||
When a preview is run in an app target, the entry point is also created. This means if your entry |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this now can go away since we have a workaround in Dependencies...
No description provided.