Grahf
Grahf
SSolidJS
Created by McBrincie212 on 9/1/2024 in #support
How To Communicate Between Components
That's what I like to do......if you're doing what I think you're doing. Export a function to set and get a signal in the provider
16 replies
SSolidJS
Created by Grahf on 9/2/2024 in #support
onChange only fires when press enter ?!
thank you
8 replies
SSolidJS
Created by Grahf on 9/2/2024 in #support
onChange only fires when press enter ?!
You da man. Maybe I've always used onInput in the past and just thought onChange was the right thing to do because my brain burst. Didn't think about that at all.
8 replies
SSolidJS
Created by Grahf on 9/2/2024 in #support
onChange only fires when press enter ?!
Not sure why the console log doesnt fire when I type in the input
8 replies
SSolidJS
Created by McBrincie212 on 9/1/2024 in #support
How To Communicate Between Components
They are generally used for global state. Like if you wanted a signal to be able to be read and set by any component in your app you'd use a context provider. You can limit them to just a group of components instead of all components too
16 replies
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