You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered: