webstrand
webstrand
SSolidJS
Created by binajmen on 11/1/2024 in #support
`classList` does not seem to apply the classes on render
ah. clsx doesn't seem to provide any way to disable classes, that's unfortunate. Thanks, I hope its only a soft-deprecation, then
4 replies
SSolidJS
Created by binajmen on 11/1/2024 in #support
`classList` does not seem to apply the classes on render
can you provide a source for that deprecation claim? I currently use classList everywhere
4 replies
SSolidJS
Created by webstrand on 10/28/2024 in #support
<Show> not tracking signals
to be clear I do understand why Show isn't tracking signals
28 replies
SSolidJS
Created by webstrand on 10/28/2024 in #support
<Show> not tracking signals
ah gotcha
28 replies
SSolidJS
Created by webstrand on 10/28/2024 in #support
<Show> not tracking signals
the value passed through the <Show> is irrelevant, so I've replaced it with true
28 replies
SSolidJS
Created by webstrand on 10/28/2024 in #support
<Show> not tracking signals
28 replies
SSolidJS
Created by webstrand on 10/28/2024 in #support
<Show> not tracking signals
I think I've confused things by failing to create a more minimal reproduction, here's a better example:
28 replies
SSolidJS
Created by webstrand on 10/28/2024 in #support
<Show> not tracking signals
right, because solid doesn't track signals called by the base component function. It feels weird though since visibly that callback is being called in jsx scope, so in most context signals inside it would be tracked
28 replies
SSolidJS
Created by webstrand on 10/28/2024 in #support
<Show> not tracking signals
{counter => <>{counter().amount}</>} works as a workaround
28 replies
SSolidJS
Created by webstrand on 10/28/2024 in #support
<Show> not tracking signals
this may be intentional, but it's weird and I'd like to know why
28 replies
SSolidJS
Created by webstrand on 10/28/2024 in #support
<Show> not tracking signals
it's that Show doesn't seem to be capturing the use of signals in its callback
28 replies
SSolidJS
Created by webstrand on 10/28/2024 in #support
<Show> not tracking signals
I don't think it's that, the Map reference doesn't change
28 replies
SSolidJS
Created by webstrand on 10/27/2024 in #support
solidjs/html use: attributes
can workaround obviously by mapping over callbacks, but it's got more syntax
10 replies
SSolidJS
Created by webstrand on 10/27/2024 in #support
solidjs/html use: attributes
I can't test right now, but can I have multiple ref? I think that's the primary advantage of use:
10 replies
SSolidJS
Created by webstrand on 10/27/2024 in #support
solidjs/html use: attributes
I'm using this API because I'm wanting to use solidjs to build the UI for a greasemonkey script
10 replies
SSolidJS
Created by webstrand on 10/27/2024 in #support
solidjs/html use: attributes
html`<div use:${myFunction}="example"></div>`
10 replies
SSolidJS
Created by webstrand on 10/27/2024 in #support
solidjs/html use: attributes
it doesn't work when I pass a value, either
10 replies
SSolidJS
Created by webstrand on 10/22/2024 in #support
How are you supposed to satisfy refs when not forwarding to a pure DOM node?
there's no utility which does this? I have to do it all manually (or write my own utility)?
6 replies
SSolidJS
Created by webstrand on 10/22/2024 in #support
How are you supposed to satisfy refs when not forwarding to a pure DOM node?
yep, I have to add that |undefined or I can't pass ref={controller} since typescript doesn't understand "write-only" properties
6 replies
SSolidJS
Created by webstrand on 7/30/2024 in #support
Resource state never updates when consumed by <Show>
I've made too many assumptions that it works that way
36 replies