-
Notifications
You must be signed in to change notification settings - Fork 27.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically reload page when editing getStaticProps
#13949
Milestone
Comments
kodiakhq bot
pushed a commit
that referenced
this issue
Sep 2, 2020
This adds initial support for reloading the page when `getStaticProps`, `getStaticPaths`, or `getServerSideProps` were changed for a page by triggering a reload when the server output for a page has changed but the client output has not since these methods aren't included in the client output. Closes: #13949
HitoriSensei
pushed a commit
to HitoriSensei/next.js
that referenced
this issue
Sep 26, 2020
This adds initial support for reloading the page when `getStaticProps`, `getStaticPaths`, or `getServerSideProps` were changed for a page by triggering a reload when the server output for a page has changed but the client output has not since these methods aren't included in the client output. Closes: vercel#13949
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Feature request
When
getStaticProps
is edited, we should do a full refresh of the page.Currently, we apply an "Fast Refresh" update, but this doesn't actually re-fetch the data. This means the user must manually refresh the page after editing
getStaticProps
.We should be smart enough to reload the page when the server-bundle changes but the client-bundle remains the same.
The text was updated successfully, but these errors were encountered: