Grahf
Grahf
SSolidJS
Created by π”π”žπ”±π”±π”¦π”« on 7/5/2024 in #support
Why is this not reactive? (using signal + html open attribute)
I only ask because it feels like a question for a job interview. I could be wrong. event ,loop seems so abstract and people want you to know about it... Sorry didn't mena to hijack thread I will watch video πŸ™‚
22 replies
SSolidJS
Created by π”π”žπ”±π”±π”¦π”« on 7/5/2024 in #support
Why is this not reactive? (using signal + html open attribute)
queueMicrotask doesn't wait for the next cycle of the event loop but setTimeout() does?
22 replies
SSolidJS
Created by π”π”žπ”±π”±π”¦π”« on 7/5/2024 in #support
Why is this not reactive? (using signal + html open attribute)
Fancy
22 replies
SSolidJS
Created by π”π”žπ”±π”±π”¦π”« on 7/5/2024 in #support
Why is this not reactive? (using signal + html open attribute)
I'm not sure. Things I can think of to try include.... Using a create effect. Check the value of the signal in the create effect and set open on the details accordingly. Would need a ref for the details. Then I think it would be ref.open=true or false. Something like that. Or you could install nanostores or zustand. And use that to manage your state....guessing you don't want to do that. I wouldnt.
22 replies
SSolidJS
Created by π”π”žπ”±π”±π”¦π”« on 7/5/2024 in #support
Why is this not reactive? (using signal + html open attribute)
22 replies
SSolidJS
Created by Luka on 6/29/2024 in #support
Vite Certificate
In the past I installed: npm install -D @vitejs/plugin-basic-ssl Then you can import this: import basicSsl from '@vitejs/plugin-basic-ssl' And use it like this:

vite: {

plugins: [basicSsl()],

server: {

https: true,

},

},

vite: {

plugins: [basicSsl()],

server: {

https: true,

},

},
2 replies
SSolidJS
Created by Jack Vane on 6/17/2024 in #support
Using Lucide Icons removes all components from the DOM.
and I noticed you have just as many .,/ as me. Is that the correct path to your node modules?
13 replies
SSolidJS
Created by Jack Vane on 6/17/2024 in #support
Using Lucide Icons removes all components from the DOM.
are you importing icons from lucide-solid anywhere else?
13 replies
SSolidJS
Created by Jack Vane on 6/17/2024 in #support
Using Lucide Icons removes all components from the DOM.
weird I have ublock origin too
13 replies
SSolidJS
Created by Jack Vane on 6/17/2024 in #support
Using Lucide Icons removes all components from the DOM.
Like this: import LoaderCircle from '../../../node_modules/lucide-solid/dist/source/icons/loader-circle.jsx'
13 replies
SSolidJS
Created by Jack Vane on 6/17/2024 in #support
Using Lucide Icons removes all components from the DOM.
The solution is to import the icon from your node modules folder. There's some kind of bug with lucid icons with solidJS. I can give you an example tomorrow if you have trouble finding the icon in your node modules folder
13 replies
SSolidJS
Created by Jack Vane on 6/17/2024 in #support
Using Lucide Icons removes all components from the DOM.
If you look at the network tab I'm guessing lucid is trying to import every single icon when you're just trying to import one
13 replies
SSolidJS
Created by Π”ΠΈΠΊΠΈΠΉ on 3/13/2024 in #support
How can you get the id of element body when its id is changed?
Oh I thought it said element in the body
7 replies
SSolidJS
Created by Π”ΠΈΠΊΠΈΠΉ on 3/13/2024 in #support
How can you get the id of element body when its id is changed?
Would using a ref for the element be better?
7 replies
SSolidJS
Created by Grahf on 2/22/2024 in #support
stop screen flicker from createResource refetch?
Which was fixed by changing astro's client:load to client:only='solid-js'
11 replies
SSolidJS
Created by Grahf on 2/22/2024 in #support
stop screen flicker from createResource refetch?
When I refresh the page it gives me this error: Uncaught (in promise) Error: Hydration Mismatch. Unable to find DOM nodes for hydration key: s00-1-0-0
11 replies
SSolidJS
Created by Grahf on 2/22/2024 in #support
stop screen flicker from createResource refetch?
well still having issues but working through it
11 replies
SSolidJS
Created by Grahf on 2/22/2024 in #support
stop screen flicker from createResource refetch?
Thanks. I used startTransition instead. I also think using refetch() instead of refetch had something to do with it
11 replies
SSolidJS
Created by Grahf on 2/22/2024 in #support
stop screen flicker from createResource refetch?
Im going to try that
11 replies
SSolidJS
Created by Grahf on 2/22/2024 in #support
stop screen flicker from createResource refetch?
fancy
11 replies