@@ -486,12 +486,12 @@ public struct Reducer<State, Action, Environment> {
486
486
This ensures that case-specific reducers can handle their actions while their state \
487
487
is available.
488
488
489
- * An in-flight effect emitted this action when state was unavailable. While it may \
490
- be perfectly reasonable to ignore this action, you may want to cancel the associated \
489
+ * An in-flight effect emitted this action when state was unavailable. While it may be \
490
+ perfectly reasonable to ignore this action, you may want to cancel the associated \
491
491
effect before state is set to another case, especially if it is a long-living effect.
492
492
493
493
* This action was sent to the store while state was another case. Make sure that \
494
- actions for this reducer can only be sent to a view store when state is non- " nil " .
494
+ actions for this reducer can only be sent to a view store when state is non- " nil " . \
495
495
In SwiftUI applications, use " SwitchStore " .
496
496
---
497
497
"""
@@ -691,16 +691,16 @@ public struct Reducer<State, Action, Environment> {
691
691
692
692
* The optional reducer was combined with or run from another reducer that set \
693
693
" \( State . self) " to " nil " before the optional reducer ran. Combine or run optional \
694
- reducers before reducers that can set their state to " nil " . This ensures that \
695
- optional reducers can handle their actions while their state is still non- " nil " .
694
+ reducers before reducers that can set their state to " nil " . This ensures that optional \
695
+ reducers can handle their actions while their state is still non- " nil " .
696
696
697
697
* An in-flight effect emitted this action while state was " nil " . While it may be \
698
698
perfectly reasonable to ignore this action, you may want to cancel the associated \
699
699
effect before state is set to " nil " , especially if it is a long-living effect.
700
700
701
- * This action was sent to the store while state was " nil " . Make sure that actions \
702
- for this reducer can only be sent to a view store when state is non- " nil " . In \
703
- SwiftUI applications, use " IfLetStore " .
701
+ * This action was sent to the store while state was " nil " . Make sure that actions for \
702
+ this reducer can only be sent to a view store when state is non- " nil " . In SwiftUI \
703
+ applications, use " IfLetStore " .
704
704
---
705
705
"""
706
706
)
@@ -771,20 +771,20 @@ public struct Reducer<State, Action, Environment> {
771
771
---
772
772
Warning: Reducer.forEach@ \( file) : \( line)
773
773
774
- " \( debugCaseOutput ( localAction) ) " was received by a " forEach " reducer at id \( id) \
775
- when its state contained no element at this id. This is generally considered an \
776
- application logic error, and can happen for a few reasons:
774
+ " \( debugCaseOutput ( localAction) ) " was received by a " forEach " reducer at id \( id) when \
775
+ its state contained no element at this id. This is generally considered an application \
776
+ logic error, and can happen for a few reasons:
777
777
778
778
* This " forEach " reducer was combined with or run from another reducer that removed \
779
779
the element at this id when it handled this action. To fix this make sure that this \
780
780
" forEach " reducer is run before any other reducers that can move or remove elements \
781
781
from state. This ensures that " forEach " reducers can handle their actions for the \
782
782
element at the intended id.
783
783
784
- * An in-flight effect emitted this action while state contained no element at this \
785
- id. It may be perfectly reasonable to ignore this action, but you also may want to \
786
- cancel the effect it originated from when removing an element from the identified \
787
- array, especially if it is a long-living effect.
784
+ * An in-flight effect emitted this action while state contained no element at this id. \
785
+ It may be perfectly reasonable to ignore this action, but you also may want to cancel \
786
+ the effect it originated from when removing an element from the identified array, \
787
+ especially if it is a long-living effect.
788
788
789
789
* This action was sent to the store while its state contained no element at this id. \
790
790
To fix this make sure that actions for this reducer can only be sent to a view store \
0 commit comments