S
SolidJS7mo 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
apollo797mo ago
Could you set up a playground with your simplified example?
Koxafis
Koxafis7mo ago
Solid Playground
Quickly discover what the solid compiler will generate from your JSX template
Koxafis
Koxafis7mo ago
Seems to be working fine in the playground... My whoopsies! Found my bug!
Want results from more Discord servers?
Add your server
More Posts
This expression is not callable. Type 'Number' has no call signatures.Hey! I added typescript to my project and now one of my `createSignal` isn't working properly and I SyntaxError: The requested module 'solid-js/web' does not provide an export named 'classList'I am getting this error when using the solid-slider library in my code during SSR. I am using Solid Unrecoverable Hydration Mismatch error when trying to implement pagination on a custom tableI am relatively new to Solid, and I am running into an error that I don't quite understand.. I am iHow to set a store back to a default state at the top level (or clear it)?Hi, I'm trying to use a store to represent the state of a dynamic number of inputs, where the inputsHow to fetch chunks of data with createResouce?How can I use `createResource` to fetch chunks of data from a paginated API endpoint? I need to fetcHow to use async functions inside of synchronous components?I tried await for a fetch inside my App component, but it went all wazoo and said promise is not valGood pattern for refetching the dataHi folks, What would be a good way to trigger refetch outside the component? I tried extracting useContext. why doest get the valuedashboard is part of props.chilren. can i pass it on props.children ?A vs Linkhello guys I have some question about solid-router, for example, there are two ways of navigating inHow do I implement authentication?Hey there! I want to implement a very authentication, how would I go about implementing it? The user