-
Notifications
You must be signed in to change notification settings - Fork 67
Proposal to use SSR for incremental static regeneration #37
Conversation
Thanks for the work. As I am also interested in using Next.js ISR on Netlify, I tried your branch on my project. Understandable that it's a WIP, but I'll share the truncated build log here of the issue I have. It seems to fail if If there is need do test out on a real site I'll have a small production ready project with different rendering options (as you see in the log). Let me know, would be happy to help.
|
Hi @joostmeijles, Thank you so much for this PR! I think server-side rendering all pages that use Your code is a fantastic start. I need to write some tests (thanks for already pointing out an issue, @raik). I also want to check for some edge cases, but then it's definitely good to go. I'm hoping that we can get this tested and merged in the next 48 hours. 🚀 I'll keep you updated! PS: @raik, if you want to try it out today: I believe the fix for the issue you encountered is to replace line 81 in
with
For |
Hi all, Based on the excellent work done in this PR, I created a WIP branch to server-side render pages with incremental static regeneration: @raik and others: Do you want to try it out and let us know how it goes? |
@FinnWoelm great work! Edit: my (deleted) posted error is definitely unrelated. |
@FinnWoelm tested it on a production website and works like a charm! |
Thank you, @joostmeijles! 🙌 🚀
Can you add about this ISG support in the ReadMe? |
Proposal to use SSR for incremental static regeneration (https://nextjs.org/docs/basic-features/data-fetching#incremental-static-regeneration).
This is definitely no production code, but I would like to determine how incremental static regeneration could be added.