ryansolid
ryansolid
SSolidJS
Created by gerard on 9/15/2024 in #support
crazy bug global store + solid router
I really needs some sort of reproduction on this one. Because looking at the code and what you've written to be the problem we are still missing something. The if the Transition is running then the memo will be added to it so the only places it would miss I'd think is if it isn't running and the memo isn't part of it, but then it should fine?...
10 replies
SSolidJS
Created by ken_binta on 12/25/2024 in #support
useTransition not working
Put the setTimeout outside of the start. Transitions track writes tgat happen synchronously, so doing it the way above means the set isn't part of it.
2 replies
SSolidJS
Created by smr.gg on 12/6/2024 in #support
actions: I can't tell if this is a bug or a feature
An action is only accontable for what it undersands. In theory it could understand a stream but it has no way of understanding a signal in the sense of am I done since Signals have no sense of time.
25 replies
SSolidJS
Created by smr.gg on 12/6/2024 in #support
actions: I can't tell if this is a bug or a feature
I don't think this example is right. It isn't really an action.
25 replies
SSolidJS
Created by smr.gg on 12/6/2024 in #support
actions: I can't tell if this is a bug or a feature
Yeah it's trickier than that because this example doesn't actually wait.. so the action thinks it is done before it is.
25 replies
SSolidJS
Created by smr.gg on 12/6/2024 in #support
actions: I can't tell if this is a bug or a feature
It might be sufficient to just only clear submissions that aren't pending. I think reference counting might be tricky with the way we do filtering.
25 replies
SSolidJS
Created by smr.gg on 12/6/2024 in #support
actions: I can't tell if this is a bug or a feature
I think we might not even need to reference count
25 replies
SSolidJS
Created by snorbi on 11/3/2024 in #support
Reactive array transformation
Yeah this is an interesting topic in a wider sense. I going to think through it. The challenge is there are varying degrees of solutions in this space. You can always take the immutable route but the mutable route is often more optimal but requires rethinking of logic. I need to think about where it is applicable and how one would know.
6 replies
SSolidJS
Created by gerard on 9/15/2024 in #support
crazy bug global store + solid router
Alright very interested in tracking this down.
10 replies
SSolidJS
Created by !helloworld on 9/24/2024 in #support
Solid SSR Setup
Look in the examples folder. I have examples of each type of rendering in a folder. The "app" is in shared
6 replies
SSolidJS
Created by !helloworld on 9/24/2024 in #support
Solid SSR Setup
Not solidstart which uses Nitro which there is less control over.
6 replies
SSolidJS
Created by !helloworld on 9/24/2024 in #support
Solid SSR Setup
6 replies
SSolidJS
Created by Luka on 9/21/2024 in #support
Sevoral Error while using AbortController
I'm not seeing anything returned in the example is why I ask. This looks like client code awaiting some preview_image function. That one could be a server function but the abort controller is on the outside. If this is server code hitting a different server then I'd expect something being returned..
9 replies
SSolidJS
Created by Samual 🦢 on 9/19/2024 in #support
modern equivalent of `createRouteData()`
That's interesting.. revalidation from actions should override any of the caching. The 5 second thing is just to dedupe during the length of a request but actions basicaly 0 the cache and refetch immediately. In the same way createRouteAction did it before. cache + createAsync is the replacement. If it isn't working as expected we should look at that.
11 replies
SSolidJS
Created by Luka on 9/21/2024 in #support
Sevoral Error while using AbortController
I'm lacking context here to see the whole picture or the error. It would only get to seroval if it was being sent back to be serialized and if this is just some client logic against an API endpoint I don't know why seroval would be involved.
9 replies
SSolidJS
Created by !helloworld on 9/24/2024 in #support
Solid SSR Setup
The best example might still be in solid repo itself in the now basically deprecated solid-ssr project. It shows a simple Rollup setup but it has examples showing how to do various forms of SSR rendering.
6 replies
SSolidJS
Created by juliuskiesian on 9/18/2024 in #support
hydration mismatch when using SuspenseList
Honestly I'd probably be cautious of SuspenseList. It is marked as experimental specifically because we had issues with finding a stable hydration strategy with it.
2 replies
SSolidJS
Created by sabercoy on 9/10/2024 in #support
How does Transition API and createAsync interact?
startTransition is what starts it. We start collection all the changes downstream of anything set during that scope, forking it from the main (visible graph). As it propagates if we hit any async resources we associate them with the Transition and finally when all of those async things done we can commit all the changes back to the main graph.
7 replies
SSolidJS
Created by sabercoy on 9/10/2024 in #support
How does Transition API and createAsync interact?
Yeah what is interesting about async functions is from the outside whether there is 1 await or 10 you only see one promise. It makes sense but everything after the first await basically becomes squashed from the outside.
7 replies
SSolidJS
Created by chirptune on 9/9/2024 in #support
How to catch all errors but keep rendered component?
If an ErrorBoundary is triggered it means part of the app couldn't be properly rendered. Keeping that part rendered would have indeterminate behavior. We offer ErrorBoundary as a way to define zones where this can be managed. But not being able to be rendered while containable is not recoverable state otherwise.
3 replies