Skip to content
Discussion options

You must be logged in to vote

Fair enough.

The Store idea was really just a way to get fine-grained access to the individual fields of a deeply-nested type.

You can do the same thing by putting it into a signal and deriving memos for the subfields, or by just accessing the resource (and, similarly, creating memos around the fields). Personally, I think the simplest solution (if the updates are coming primarily over a websocket) is to wait for it once in Suspense, stick the whole thing into a signal and then access the fields as memos. Rather than creating 30 different Suspense nodes. (This is really just a question of how many individual chunks you want to stream in from the server during SSR — but of course adding Su…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@lukexor
Comment options

@lukexor
Comment options

@lukexor
Comment options

@gbj
Comment options

gbj Sep 30, 2025
Maintainer

Answer selected by lukexor
@lukexor
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants