Why Nostr? What is Njump?
2024-09-30 20:14:26

Helge Heß on Nostr: I'm thinking about how to do SwiftWebUI in a useful way. A big thing in web is state ...

I'm thinking about how to do SwiftWebUI in a useful way. A big thing in web is state handling, i.e. what would `@State` mean? In SwiftWebUI/WO this is just part of an in-server, sticky, session. Which is almost never what you want (and probably shouldn't be a convenience default).
Some state could be in a parameter, or a cookie, or an actual session, or in Redis.
But having the way of state handling part of the View feels a little icky, too tightly scoped.

Author Public Key
npub1n0wag4utvkrzp0dlqmuhlw8e0rqgkeqar5py3fsn74fd0mmlwzdqykaw0d