Adam Bell :catPOWER: on Nostr: If any SwiftUI folks wanna take a look at FB13797235 :))) Basically using @State ...
If any SwiftUI folks wanna take a look at FB13797235 :)))
Basically using @State within a UIHostingConfiguration's view created from `makeContentView` is preserved across re-configuring the view's `configuration` resulting in state data.
In my case I have my own custom cell reuse implemented for coverflow in Albums (no collectionview) and this results in albums having the wrong artwork requiring me to instead constantly call `makeContentView` to get new views with the correct state :(
Basically using @State within a UIHostingConfiguration's view created from `makeContentView` is preserved across re-configuring the view's `configuration` resulting in state data.
In my case I have my own custom cell reuse implemented for coverflow in Albums (no collectionview) and this results in albums having the wrong artwork requiring me to instead constantly call `makeContentView` to get new views with the correct state :(