SSG Improvements, while using the dev server #10053
mikestopcontinues
started this conversation in
Ideas
Replies: 2 comments
So do I understand correctly that the main problem is that |
0 replies
|
@Janpot That would be a pretty good solution. What do you see as the benefit vs. using the local copy until refresh? Doesn't the hot reload wipe local data already? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
After experimenting with the new static gen api discussed in #9524, I'd like to suggest a better approach to developing using the dev server.
The problem is, at present, navigating between
getStaticPropsroutes causes the dev server to request the results json over and over. This is contrary to production behavior, and it also slows down the development process with extra delays.@Timer argued that during development, it's in the developer's interest to see the most up-to-date data, and thus, the server request is useful. But I don't see a use-case where this would come into play.
Are there use-cases for re-requests I'm not considering?
Either way, I think we should have the discussion on two fronts:
Thanks. :)
All reactions