Closed deluksic closed 2 months ago
Yeah this is a compiler error.. when it detects it can avoid the wrapper and pass in the signal directly there is no new wrapper made. It turns out that we prematurely remove the wrapper when there are double function calls.
Describe the bug
Having
someSignal()()
inside JSX breaks reactivity.Your Example Website or App
https://playground.solidjs.com/anonymous/a27d79e6-d87f-4361-ad2b-512cd32c6d18
Steps to Reproduce the Bug or Issue
Expected behavior
I expect
Result (broken)
to matchResult (works)
.Screenshots or Videos
No response
Platform
All
Additional context
Discussion on discord https://discord.com/channels/722131463138705510/751355413701591120/1229427809173377144