Describe the bug
refresh refreshes all derived signals all the way up
const [original, setOriginal] = createSignal(0);
const [derived1, setDerived1] = createSignal(original);
const [derived2, setDerived2] = createSignal(derieved1);
...
refresh(derived2) // refreshes derived1 too, but should only refresh derived2
Your Example Website or App
https://s.olid.uk/id/bCo2JDbPSDuPHwd6PfyLeA
Steps to Reproduce the Bug or Issue
- Go to link
- Click "Refresh2" button
- See that not only
derived2 has changed but derived1 too, both to the original value
Expected behavior
Only derived2 should be changed to the value of derived1, the derived1 shouldn't refresh / change it's value.
Screenshots or Videos
No response
Platform
- OS: Windows 10
- Browser: Chrome
- Version: Solid v2.0.0-beta.10
Additional context
No response
Describe the bug
refreshrefreshes all derived signals all the way upYour Example Website or App
https://s.olid.uk/id/bCo2JDbPSDuPHwd6PfyLeA
Steps to Reproduce the Bug or Issue
derived2has changed butderived1too, both to theoriginalvalueExpected behavior
Only
derived2should be changed to the value ofderived1, thederived1shouldn't refresh / change it's value.Screenshots or Videos
No response
Platform
Additional context
No response