Skip to content
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

Frontload on server #63

Open
AnshuBansal6 opened this issue Mar 4, 2024 · 0 comments
Open

Frontload on server #63

AnshuBansal6 opened this issue Mar 4, 2024 · 0 comments

Comments

@AnshuBansal6
Copy link

How to use this code for API call please help -

const frontloadState = createFrontloadState.server({
// inject server impl of api for use in data loading functions.
// might make SQL queries directly instead of making HTTP calls if those
// endpoints are on this same server
context: { api: serverApi }
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant