d34dbug
Reactivity lost if awaited function precedes?
😦 Looks like I'm not going to be able to at the moment. Turns out I got sick and it put me out of commission for several days. I'm just too way behind on where I'd like to be on my project now. Sorry.
33 replies
Reactivity lost if awaited function precedes?
the only difference seems to be that the call to the signal getter is happening inside the await in my initial code. It's also called repeatedly, but that doesn't seem likely to be an issue.
If the problem is that the signal getter is called inside the await, that might warrant a deeper dive into the reason or maybe an informative post indicating that this shouldn't be done (calling the getter inside an await)
33 replies
Reactivity lost if awaited function precedes?
not sure how that works for the highlighting. I 've chosen not to use typescript because I can't deal with all the error messages. I kinda want to limit the number of things I'm trying to learn at one time. Solid and Rust are enough with all the other libraries associated.
33 replies
Reactivity lost if awaited function precedes?
in case it matters this is in the parent component:
The idea is to use the activeSession as a trigger to validate that the session in the backend which then triggers a validation of whether the scope is set in the backend. These are used to conditionally render the parent component. It sounds convoluted and it kinda is, but it's because I am trying to rely on state on the backend, not the frontend.
33 replies
Right side of assignment cannot be destructured
That was the problem. Strange. Thanks. I should have seen that. I think what threw me was the error message which didn't seem to have anything to do with the actual error not providing parameters that are expected/required
8 replies
Right side of assignment cannot be destructured
Thank you for that. Definitely an oversight from copying it over.
However, how would that lead to the error I'm receiving? I could see an error telling me that parameters are missing or something, but the error doesn't seem to line up with that. Just a bad error message? Unfortunately I won't have time to work on it until maybe tomorrow to test if that's the cause of the error.
8 replies