You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reported issue linked below should be updated as sheet(store:) is deprecated. I didn't make a PR as I'm not sure if you want to keep the SwiftUI sentence with sheet(item) or remove that completely.
An "ifLet" at "\(self.fileID):\(self.line)" received a presentation action when \
destination state was absent. …
Action:
\(debugCaseOutput(action))
This is generally considered an application logic error, and can happen for a few \
reasons:
• A parent reducer set destination state to "nil" before this reducer ran. This reducer \
must run before any other reducer sets destination state to "nil". This ensures that \
destination reducers can handle their actions while their state is still present.
• This action was sent to the store while destination state was "nil". Make sure that \
actions for this reducer can only be sent from a store when state is present, or \
from effects that start from this reducer. In SwiftUI applications, use a Composable \
Architecture view modifier like "sheet(store:…)"
Checklist
I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
If possible, I've reproduced the issue using the main branch of this package.
Description
The reported issue linked below should be updated as sheet(store:) is deprecated. I didn't make a PR as I'm not sure if you want to keep the SwiftUI sentence with sheet(item) or remove that completely.
swift-composable-architecture/Sources/ComposableArchitecture/Reducer/Reducers/PresentationReducer.swift
Line 650 in 642af1d
Checklist
main
branch of this package.Expected behavior
Irrelevant
Actual behavior
Irrelevant
Reproducing project
Irrelevant
The Composable Architecture version information
main
Destination operating system
Irrelevant
Xcode version information
Irrelevant
Swift Compiler version information
The text was updated successfully, but these errors were encountered: