Andreas Roth
Andreas Roth
SSolidJS
Created by Andreas Roth on 9/16/2024 in #support
Cycles in dependency graph
Hello fellow Solid devs, we need your help! To make things short: Is there any way to safely recover from a cycle in solid's reactivity dependency graph? I know that the simple answer is: Don't do cycles! But it's not that easy, let me explain: We have been building an Excel-Like application and use Solid's reactivity for dependencies between the cells. So users are in full control what cells they reference within they formulas. One option that we see is to manually inspect the cell references to look for cycles, but something that could again leverage Solid's built-in helpers would maybe be a simpler approach.
3 replies