SolidJSS
SolidJS3y ago
48 replies
im_ninooo

Await for signal state?

My website checks the login state upon initial load and a Resource on a page is failing to load because it requires login but it runs before the login check can finish. How can I wait for the logged-in (signal) state to change before proceeding with the request?
I've looked at the
from
documentation but it's very confusing.
Was this page helpful?