manubaun
Explore posts from serversI get ERR_UNHANDLED_REJECTION
Hey all, I am using the solidstart drizzle example wiht login.
solidstartversion: "@solidjs/start": "1.0.6",
nodeversion 23.2
I try to run this code.
the problem I encouter now is, if the the function now returns the error,
nodejs crashes with error message:
I just dont know where I can handle the rejections..
does anyone know, how to resolve that?
8 replies
how to rerender component, when access store prop on component level?
Hi Guys,
I have a store, which I have a property to be edited. Once the property is set, a modal should open, if the property is unset, the model closes.
something like this:
but this wont work. If I wrap my access on the ticket of the store in a create effect, I can see it changes.
what I thought of, to create a signal, set the signal via createEffect, and then render the modal. But I like to avoid this approach. is there a better way?
2 replies
useSubscription simplified with react query
Hi Guys,
looking for a way to simplify the use of useSubscription. Currently I do the following:
1. create local state with the type of my subscription
2. call useSubscription, and pass onData to a setData
is there a way, to avoid it like I do? Then I would not need to
- import the types,
- create a local state,
- wiring up useSubscription and localState
1 replies