S
SolidJS14mo ago
Koxafis

Confusion with signal not updating the dom

I am not sure what to make of this other than the fact that I am confused, but the filename() signal doesn't update the dom whatsoever. Even though the createEffect is working fine and outputs the correct state of the filename signal. In my simplified example updating the signal doesn't update the dom but only when removing the filename after an initial filename value is passed, but still it wont update after inserting a new file. I uploaded the file as an image and the actual file, if you want to take a look and help me out. Because it's a bit bigger than the allowed non-subscription text length * cries in poor *.
3 Replies
apollo79
apollo7914mo ago
Could you set up a playground with your simplified example?
Koxafis
KoxafisOP14mo ago
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
Koxafis
KoxafisOP14mo ago
Seems to be working fine in the playground... My whoopsies! Found my bug!
Want results from more Discord servers?
Add your server