This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
Post
Peter Friese
peterfriese.dev
did:plc:aa5uyupjm7phzzptlmclp2wr
Initializing `@Observable` objects in SwiftUI views isn't as simple as it looks. 🧐
@natpanferova.bsky.social explains why you need `@State` and how to handle the lifecycle correctly.
https://nilcoalescing.com/blog/InitializingObservableClassesWithinTheSwiftUIHierarchy
2026-01-28T16:30:17.156Z