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
Passing server: false
should change the type
#319
Comments
Currently we use loaders (0.7) in SPA app, it would very annoying if suddenly all those page loaders became possibly undefined inside pages, one of the reasons I chose this library was because of that. I don't think we would need to be server: false, in pure SPA app, so thats interesting disconnect of modes. Would that effect us? On side note would be there a way to check if the loader used in current page has loader exported as an mitigation? Of cours e using useLoader inside router guards and such would not be safe, but in pages and components it should (?) Not sure if types could be matched with that. |
This won’t affect default usage |
Currently only
lazy: true
sets the return type of data to possibly undefined but server: false should also do itThe text was updated successfully, but these errors were encountered: