terracotta
terracotta copied to clipboard
utilize dynamic dependencies
Why not utilize dynamic dependencies here?
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
solid-headless | ❌ Failed (Inspect) | Sep 20, 2022 at 8:19PM (UTC) |
The old code is that way however due to boolean short-circuit the latter code doesn't get tracked. That's the reason why I had to expand it into variable reads. Thanks for the PR but closing this.
I know that it doesn't get tracked. That's the point 😉 Why track a signal which updates won't case a change? The first signal has to return false for the second to even matter. But yeah, it's not that important, just found that curious while looking through the code 😛
Revisiting the concept, you might be right. I'll re-open this for now since the changed code is just one of the many same occurrences that I have changed in my local branch.