David Beck :xcode: on Nostr: This issue is also why SwiftUI uses action types that implement `callAsFunction` so ...
This issue is also why SwiftUI uses action types that implement `callAsFunction` so much instead of just plain closures (DismissAction, RefreshAction etc). That allows them to have a hidden identifier to make them Hashable.
Published at
2024-07-31 15:56:24Event JSON
{
"id": "07ba12ec9c0f9873ba0594fb81419c2d79b8e81103c383dc65b303739381b5fa",
"pubkey": "347e56e8185507e0543f70ae84bb97cf5f4f23ad4782daacd437ac53a1519634",
"created_at": 1722441384,
"kind": 1,
"tags": [
[
"e",
"75946fa5739a54f84b523fea25e79e8c1d436ea1e8dd307dde33c090d10785fb",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://tnku.co/users/david/statuses/112881918575758922",
"activitypub"
]
],
"content": "This issue is also why SwiftUI uses action types that implement `callAsFunction` so much instead of just plain closures (DismissAction, RefreshAction etc). That allows them to have a hidden identifier to make them Hashable.",
"sig": "33c57076a138cac7ff29324d5a43657fa2498ecb91b2dc3cf11145aaf0f80589f68a0d4d07dbfcd81efd2e2130bf5d1446be24803eb000919d3c41fef3275936"
}