3 ms·
The trick for 1) is to use @Observed object on a state class inside your app struct then push to views via @Published combine streams so you can map/filter/redu
by newZWhoDis 4y ago
The trick for 1) is to use @Observed object on a state class inside your app struct then push to views via @Published combine streams so you can map/filter/reduce. Storing massive state in every view/child view/grandchild view is both stupid and wasteful.
2 and 3 I can’t reproduce.
- DelightOne 4y agoYep! I currently use Composable Architecture for the same purpose.
- akmarinov 4y ago2 and 3 are fixed in iOS 15+