I'd need nonisolated because I am registering my view using Swinject from a nonisolated context.
I also had the case where a developer was doing navigation updates (@MainActor operation) in the init, which was technically possible as the init is @MainActor.
What is the technical limitation that enables setting a @State var value in a nonisolated context and that prevents @Environment from being set there ?
I'd need nonisolated because I am registering my view using Swinject from a nonisolated context.
I also had the case where a developer was doing navigation updates (@MainActor operation) in the init, which was technically possible as the init is @MainActor.
What is the technical limitation that enables setting a @State var value in a nonisolated context and that prevents @Environment from being set there ?