SSG Improvements, while using the dev server #10053
Replies: 2 comments
-
So do I understand correctly that the main problem is that |
Beta Was this translation helpful? Give feedback.
-
@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? |
Beta Was this translation helpful? Give feedback.
-
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
getStaticProps
routes 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. :)
Beta Was this translation helpful? Give feedback.
All reactions