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.
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 startthe server is already running so it's simpler, but inwasp buildthe server does not run when building the client, so it might be trickier.