deluksic
deluksic
SSolidJS
Created by Massukka on 10/22/2024 in #support
How to avoid passing too many props?
Or using a context, depending on what youre trying to do. Although 20 mandatory props sounds like this component is doing too much.
4 replies
SSolidJS
Created by Tom on 10/15/2024 in #support
Context lost on HMR
They can destroy hmr completely
27 replies
SSolidJS
Created by Tom on 10/15/2024 in #support
Context lost on HMR
Also make sure there's no import cycles
27 replies
SSolidJS
Created by Tom on 10/15/2024 in #support
Context lost on HMR
Reloading the module causes the context object to change identity. Try splitting out the createContext into a separate definition file, this should help.
27 replies
SSolidJS
Created by Fexelitche on 9/26/2024 in #support
Multiplayer in SolidJS
An optimization you might do if making a game is to queue these events and handle them per frame in a batch, so you dont schedule more work than necessary.
9 replies
SSolidJS
Created by Fexelitche on 9/26/2024 in #support
Multiplayer in SolidJS
I dont have experience implementing multiplayer in solid, but there is no such thing as truly parallel updates to signals, as they are synchronously updated on the main thread. An async function can update signals, but it still schedules sync work, so there should be no issues.
9 replies
SSolidJS
Created by chiefcll on 9/23/2024 in #support
createResource with a nested source signal doesn't retrigger
Maybe you setStartTime to the same value so it doesn't trigger due to equal check?
7 replies
SSolidJS
Created by chiefcll on 9/23/2024 in #support
createResource with a nested source signal doesn't retrigger
I dont see any issue with your code. Can you create a small repro on playground?
7 replies
SSolidJS
Created by Andreas Roth on 9/16/2024 in #support
Cycles in dependency graph
I dont think you can get away with running the cell in order to figure out if there was a cycle, you'll need some kind of mechanism that does this without actually running the cell, unfortunately
14 replies
SSolidJS
Created by Andreas Roth on 9/16/2024 in #support
Cycles in dependency graph
The issue here is not their code, but user-written "code" in the cells
14 replies
SSolidJS
Created by deminearchiver on 8/8/2024 in #support
Need help debugging animations
CSS props should be supported since 2016? Not sure about sqrt, but you can do it in js easily
33 replies
SSolidJS
Created by deminearchiver on 8/8/2024 in #support
Need help debugging animations
This example makes the duration depend on sqrt(distance) traveled https://playground.solidjs.com/anonymous/51f8765f-cc7c-4e28-a820-4fbfdb589918
33 replies
SSolidJS
Created by deminearchiver on 8/8/2024 in #support
Need help debugging animations
I like your idea. I tried implementing it a bit simpler here https://playground.solidjs.com/anonymous/0633f857-6c75-432b-aa8c-e167155fb7f4
33 replies
SSolidJS
Created by deluksic on 7/5/2024 in #support
Is there a way to prevent `lowercaseevent` names?
Perfect, thank you for the suggestions. Will try then out on monday!
5 replies
SSolidJS
Created by deluksic on 7/5/2024 in #support
Is there a way to prevent `lowercaseevent` names?
we are using typescript, so ideally it would be an actual type error to write it the other way
5 replies
SSolidJS
Created by deluksic on 6/7/2024 in #support
Wheel event not firing on chrome 125?
https://issues.chromium.org/issues/345948299 sent this issue in, let's see
16 replies
SSolidJS
Created by deluksic on 6/7/2024 in #support
Wheel event not firing on chrome 125?
I don't know how to reproduce without solidjs, but maybe it should be reported to chromium team?
16 replies
SSolidJS
Created by deluksic on 6/7/2024 in #support
Wheel event not firing on chrome 125?
we will deploy onMount fix, but it is really strange
16 replies
SSolidJS
Created by deluksic on 6/7/2024 in #support
Wheel event not firing on chrome 125?
no error, just event not firing
16 replies
SSolidJS
Created by deluksic on 6/7/2024 in #support
Wheel event not firing on chrome 125?
ok good to know I'm not going crazy 😄
16 replies