Loading in server component
Unanswered
Pixiebob posted this in #help-forum
PixiebobOP
Is it possible to place a loading or something similar while waiting for the response?
4 Replies
Note that if the page is static you probably would rather just send the page, setting up a loading page will trigger streaming so the page won't render with JS disabled for instance
it's more relevant for dynamic page where the server data fetching/render may take some time
@Eric Burel Note that if the page is static you probably would rather just send the page, setting up a loading page will trigger streaming so the page won't render with JS disabled for instance
if the page is static generated, next will serve the html instead