Skip to content

Frontload on server #63

@AnshuBansal6

Description

@AnshuBansal6

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 }
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions