-
Notifications
You must be signed in to change notification settings - Fork 82
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
Refactor with SWR #14
Comments
Hey folks! We have upgraded this repo to take advantage of incremental static site generation (iSSG). In short:
This is thanks to Next.js' new hooks for static site generation, see the RFC here, where you can learn more about how this works. I’m closing this issue for now as it’s no longer applicable. Feel free to ping me with any questions. |
@ijjk I'm sure it's just the APIs being unstable, but it's unclear to me from your second bullet point exactly how re-builds get triggered. Eg. One of the nice things about the existing thing was:
It's unclear to me how It seems like that's a nice feature, but it might only work if you deploy Next.js on Zeit now so the host knows that it has to use the code from getStaticProps to revalidate against? I could be totally off the mark / things are still in flight so feel free to push back 😄 |
should likely be refactored with SWR https://github.com/zeit/swr
possibly blocked on vercel/swr#11
It's good for most blog style content to be ssr for SEO purposes
The text was updated successfully, but these errors were encountered: