Where do they recommend doing that?
In the App struct (which is only init once) @State doesn't seem any different behavior from let container = ModelContainer.create()
In a View struct @State will leak the initialValue object every time the View is init. Maybe they mean use @StateObject?
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: