Event JSON
{
"id": "7014ee988a439f7f56b276d606c1e427abca54bba5d5ff7963a5fca5a40a11c7",
"pubkey": "266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"created_at": 1739118422,
"kind": 1,
"tags": [
[
"e",
"f220a3701628eb353c1d445aa7a15f91e240a9b9ea30aa4c3af4ccbdc778d9ec",
"wss://relay.damus.io",
"root",
"97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322"
],
[
"e",
"f220a3701628eb353c1d445aa7a15f91e240a9b9ea30aa4c3af4ccbdc778d9ec",
"wss://relay.damus.io",
"reply",
"97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322"
],
[
"p",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"wss://satellite.hzrd149.com/",
"hzrd149"
],
[
"p",
"97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "I'm using react and I wrote my own small useObservable hook that lets components subscribe to the value of an rxjs observable \nhttps://github.com/hzrd149/applesauce/blob/master/packages/react/src/hooks/use-observable.ts\nI don't know if svelte has native support for observable, but Im sure you could write a really simple helper method that would allow components to use them. ( want to build a applesauce-svelte package 😉 )\n\nApplesauce is broken into a few parts but the core of it is a large collection of helper methods https://hzrd149.github.io/applesauce/typedoc/modules/applesauce_core.Helpers.html and the in-memory EventStore https://hzrd149.github.io/applesauce/overview/events.html\nThe EventStore ( and QueryStore ) are designed to store all the events the UI layer needs and they expose a bunch of different observable methods that let components subscribe to events ( timelines, lists, profiles, zaps, replies, etc )\nhttps://hzrd149.github.io/applesauce/overview/events.html",
"sig": "c04ce03e866c74da615827ddb211ab6f1d91f8b43839fe977770845681ccf58f60182dca0b014fbec215a876be987f21a5a45e478ec71bc8b083a2adf8dc249a"
}