Bug: SolidJS effect does not get triggered on setter #53
Unanswered
Shinigami92
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Have you tried using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Code:
unuse/packages/unuse-solid/src/index.ts
Lines 138 to 150 in 8f238f9
Test:
unuse/packages/unuse-solid/src/index.spec.ts
Lines 54 to 66 in 8f238f9
expect(mySignal.get()).toBe(100);
results in42
instead of100
.@ryansolid could you maybe explain why the
createSolidEffect
gets triggered? And can I somehow trigger it?Beta Was this translation helpful? Give feedback.
All reactions