What changes in vercel build vs the local build?
Unanswered
Scottish Fold posted this in #help-forum
Scottish FoldOP
I have the following setup:
PostList Component: Fetches and renders all the posts
PostDetail Component: Fetches and renders the selected post
For better UX, when the user navigates from the post detail page to individual post page I use the already fetched post data from the detail page as a placeholder and stream the rest of the data as and when they are fetched.
PostList Component: Fetches and renders all the posts
PostDetail Component: Fetches and renders the selected post
For better UX, when the user navigates from the post detail page to individual post page I use the already fetched post data from the detail page as a placeholder and stream the rest of the data as and when they are fetched.
2 Replies
Scottish FoldOP
This works as expected in my local and build environments, where the user is instantly navigated to the detail page and the user data being fetched is streamed in.
But when I deploy the application to vercel it waits for all the page data to be fetched before the user is navigated to the detail page