Skip to content
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

IfLetStore: ignore view store binding writes to nil state #1879

Merged
merged 4 commits into from
Jan 27, 2023

Conversation

stephencelis
Copy link
Member

A new implementation of #849. This time it will only ignore actions sent via view store bindings, which is a common SwiftUI bug. If you send an action explicitly, i.e. in .onDisappear { … }, we will still surface runtime warnings to the end user.

@stephencelis stephencelis merged commit 98af2ad into main Jan 27, 2023
@stephencelis stephencelis deleted the if-let-nil-bindings branch January 27, 2023 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants