What is the SwiftUI approved way of having a View with an Environment variable that is iOS 18 only, when your target also supports iOS 17?
@christianselig You can use `@Environment(\.self) var environment` and then put the usage of `environment.activeFamily` behind a `#available` check
@christianselig @harlan Wouldn't this cause your view to re-render anytime _anything_ in the environment changes though?
@kylehickinson @christianselig It shouldn't; dependencies are registered on a per-property basis.
@harlan @kylehickinson @christianselig This depends on Observation, right? Code that targets iOS 16 or earlier will be invalidated whenever the Environment changes.
@landonepps @kylehickinson @christianselig Not for Environment, it does its own dependency tracking.
@harlan @landonepps @christianselig Good to know! Was this always the case? Not sure why I remember seeing that behaviour before, unless maybe I'm thinking about the `.transformEnvironment(\.self)` pattern

@kylehickinson @harlan @christianselig I thought the same, but maybe I was just mentally grouping it with the ObservedObject/State/StateObject property wrappers.

Either way, if @harlan says it, I consider it authoritative :)