Skip to content

Allow to use Operations and APIs when prerendering #4740

Description

@cprecioso

When using prerender: true, our APIs and Operations do not work in the server, only in the client.
This makes it so that people can't effectively prerender dynamic data in their apps.
We should find a way to make useQuery(myQuery) etc to work seamlessly in prerendered apps.
In wasp start the server is already running so it's simpler, but in wasp build the server does not run when building the client, so it might be trickier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions