npub106…ptw9x on Nostr: In SvelteKit it's super easy. Simply return a promise instead of the awaited data in ...
In SvelteKit it's super easy. Simply return a promise instead of the awaited data in a nested attribute of your load function.
https://t.co/lDbpTmUoRU Published at
2023-03-21 14:22:28Event JSON
{
"id": "193f748307182c84e22516bc88e7b4af4998d7c3a6c29d5f608f2e5c6a81f5e6",
"pubkey": "7e9c924ae5255c95a454d28ae89552a1e081f828ad4dc0381508b509188c865e",
"created_at": 1679408548,
"kind": 1,
"tags": [
[
"proxy",
"https://twitter.com/kevmodrome/status/1638184303078064130",
"web"
],
[
"e",
"7c6b45f908eb517d0f0de0bc82750a49771c1a9cf88d4746b75646fca12702f8",
"reply"
]
],
"content": "In SvelteKit it's super easy. Simply return a promise instead of the awaited data in a nested attribute of your load function.\n\nhttps://t.co/lDbpTmUoRU https://cdn.satellite.earth/11abc2a0646c9993d786790609b8a11c854f0e2b640040ca476dea458ea41c91.jpg",
"sig": "84a74befc3aac2df1b72c923bd94c240c77f79f1622d16f1cbc7b64814dd182464af90b65f901a10c85e0edff70c8ed30cb86a2ba62f9889f204b5b244730642"
}