deluksic
deluksic
SSolidJS
Created by deluksic on 7/5/2024 in #support
Is there a way to prevent `lowercaseevent` names?
No description
5 replies
SSolidJS
Created by deluksic on 6/7/2024 in #support
Wheel event not firing on chrome 125?
https://playground.solidjs.com/anonymous/9b0f810f-e02c-4dbc-9d89-1132b25e76f2 This worked in chrome v<125, and now doesn't. I have no idea how to debug why. Adding an onMount in order to wait for the div to be connected to DOM fixes it: https://playground.solidjs.com/anonymous/e3abbc30-f7cf-4f76-9f27-30b8817da09d Any ideas what happened here?
16 replies
SSolidJS
Created by deluksic on 10/12/2023 in #support
Nesting startTransition calls arbitrarily
Can I nest startTransition(() => { setState(); startTransition(() => setState()) }) calls arbitrarily? In the last few days I've been playing with transitions a lot. I'm pretty sure it is ok, as it worked in a few examples I tried. Does anyone know for sure? Reasons to do this could be multiple, but sometimes code reuse can do this to you.
3 replies
SSolidJS
Created by deluksic on 9/28/2023 in #support
Unresolved createResource doesn't trigger Suspense boundaries?
https://playground.solidjs.com/anonymous/65d5e1a1-df41-47c4-989f-2a0fc0885274 Is it expected that unresolved resource doesn't trigger Suspense boundaries? I would expect my loading screen to come up even if the resource is still waiting for its dependency.
5 replies
SSolidJS
Created by deluksic on 8/8/2023 in #support
Error handling in dependent memos
I was expecting that if one memo fails, all the dependent ones would also stop executing, see example here: https://playground.solidjs.com/anonymous/f51ce58c-1f57-4364-92a1-59bc7da54c59 How should I handle such a situation gracefully? Edit: This can cause downstream issues which are then raised instead of the original error, like no property bla on undefined. Another example, I expect "oops" to be rendered in the fallback https://playground.solidjs.com/anonymous/f51ce58c-1f57-4364-92a1-59bc7da54c59
2 replies
SSolidJS
Created by deluksic on 5/15/2023 in #support
Resource has wrong types?
Please take a look at this example: https://playground.solidjs.com/anonymous/1c0baf1f-20e7-4bc8-a878-6afe824ce4c1 In the createEffect, the type of shouldBeUndefinedButItsNot is number, but console writes undefined on first run. Am I misusing createResource?
6 replies
SSolidJS
Created by deluksic on 4/3/2023 in #support
Are there any guarantees on the order of createMemo / createComputed execution when siblings?
This example suggests there are none: https://playground.solidjs.com/anonymous/32dc8fda-6b7d-40df-8c43-e511efaae863 is there any deeper discussion on this somewhere?
3 replies