Outside a createRoot error when multiple signals in a prop?

Can someone clever give me a quick rundown as to why button 1 generates a warning? Doesn't it just evaluate to boolean anyways? https://playground.solidjs.com/anonymous/d5fe0e41-701e-4360-b991-867f9e57811f
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
4 Replies
mdynnl
mdynnl•2y ago
the optimization around && is kicking in where it shouldn't, it's likely an oversight, you could probably make an issue
Some Call Me Tim
Some Call Me TimOP•2y ago
okay cool, will do Welp, apparently that's how it's supposed to work. https://github.com/solidjs/solid/issues/1715
Want results from more Discord servers?
Add your server