Ping for toast
Explore posts from serversInfinite context loop in start dev?
Hi, I have , and I'm noticing that this createResource is running forever as fast as possible, on the server, when its in dev. I'm trying to discover the root cause of it, but it only happens in dev. I'm posting this half for help, and half to help others when I uncover the issue
15 replies
Await Resource
I have an authentication context wrapping the router
And later use the session context in certain functions
But it appears that in some contexts,
useSession
is still unloaded when it is called. I need some way to await the resource ready state if it isn't ready already, or some better way to do this2 replies