Skip to content

Does solid support guaranteed top-down reactivity? #505

Answered by ryansolid
cynecx asked this question in Q&A
Discussion options

You must be logged in to vote

I see. I do up and down traversals to check if a parent could be disposed and resolve it first since the order of the queueing itself can't be guaranteed especially when there are multiple changes. It's possible that since a For loop interaction is its own root that it isn't looking up far enough. I think this would be a good scenario to isolate and work through. I thought I'd come up with a robust way to handle these situations, since subscriptions generally are made in initial execution order this usually only gets you on multiple change scenario. It's also possible this is the side effect of a more recent change.

What version of Solid are you using?

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@cynecx
Comment options

@ryansolid
Comment options

@ryansolid
Comment options

@cynecx
Comment options

@ryansolid
Comment options

Answer selected by cynecx
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