This is an interesting approach and is a bit cleaner than what I have at the moment. I do have one question though: for the SwiftDataStore ModelActor, where will you be injecting the ModelContainer from and wouldn’t you be having issues with MainActor vs ModelActor if this wasn’t being injected from the View?
That’s the part that still stumps me when dealing with SwiftData, Views and ModelActors.