Replies: 1 comment 1 reply
-
|
Ah, you probably don't want to use This task requires using some of Zedux's obfuscated APIs. A low-level helper would be nice for this. Tagging #143 again. I was writing up an example here of how to do a manual snapshot with https://stackblitz.com/edit/vitejs-vite-dwy1ktj1?file=src%2FApp.tsx |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a realtime visualization of the zedux graph that currently uses the
flatsnapshot. I'd like to update it in realtime based on ecosystem events, but I'm unsure if I can recover the same information from those events to rebuild the graph in another process incrementally. Specifically, I'm trying to get the operation that an edge event relates to, but I found that operation is not present in edge or cycle events. I thought of getting it from the edge eventssource.ofield, but that is an array, so I'm not sure which to attribute the event to. I seeEventBasehasoperationas an optional field. Should it be defined for these events, or is there a deterministic way to recover it from the graph using the data in the event?Beta Was this translation helpful? Give feedback.
All reactions