S
SolidJS16mo ago
deluksic

Are there any guarantees on the order of createMemo / createComputed execution when siblings?

This example suggests there are none: https://playground.solidjs.com/anonymous/32dc8fda-6b7d-40df-8c43-e511efaae863 is there any deeper discussion on this somewhere?
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
2 Replies
ryansolid
ryansolid16mo ago
No. Only dependency graph has guarantees. Which is part of the problem with createComputed. We've been working towards patterns to deprecate it over time, but that involves introducing replacements for its use cases.
deluksic
deluksic16mo ago
maybe as a followup question, how can I guarantee order of effects? I have been using memos to chain them