deluksic
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
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
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
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
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
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