-
-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSR - Weird issue with 'loading' #137
Comments
Currently, it doesn't make any requests when on the server. This feature has not been implemented yet which is why loading is set to true by default. Many times people try to iterate over data that may or may not be available yet due to a loading state. i.e. loading = true Currently we don't have the fetch request get executed until it is on the client. |
In my case, I'm handling a "save" button using |
Okay, I will change this |
This should be fixed. See |
Describe the bug
Server side, I'm getting
loading === true
even if I'm not firing any request.I tried putting
{ onMount: false, loading: false }
.Expected behavior
Loading should be false if no request is made. Moreover, it seems the lib does not do anything server side, so loading should be ever set.
The text was updated successfully, but these errors were encountered: