Replying to Avatar hzrd149

I think I'm going to let myself get distracted and build a framework like this

The goal is to separate the data fetching layer ( relay subs / outbox model ) of nostr web clients with the UI layer. This might help with debugging and might make it a lot easier to build UIs since all events are stored in a single place

Currently in noStrudel the events are spread across multiple "timeline loaders" and "profile loaders". this sometime leads to the UI not being able to find an event that another part of the UI was showing ( i.e. thread unable to find events shown in timelines )

Avatar
Ƒʉͫcͧкͭιͪηͣ 𝕵𝖔𝖍𝖓 ⚡️⚡️ 1y ago

Since all events are stored on a single place... where is this place?

Reply to this note

Please Login to reply.

Discussion

Avatar
hzrd149 1y ago

In memory. that way all the UI elements subscribe for events and the loaders can pipe events into the store

Thread collapsed