-
-
Notifications
You must be signed in to change notification settings - Fork 110
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
New preset with hybrid SSG/SSR (replaces SSR-only with hybrid rendering modes support) #42
New preset with hybrid SSG/SSR (replaces SSR-only with hybrid rendering modes support) #42
Conversation
[GitHub Actions] |
… to "v1-hyb-mst-aptd-gcms-lcz-sty"
[GitHub Actions] |
[GitHub Actions] |
…ld step for unknown reason)
[GitHub Actions] |
[GitHub Actions] |
[GitHub Actions] |
@samuelcastro FYI SSG works with the Index page now. See https://nrn-v1-hyb-mst-aptd-gcms-lcz-sty-c1-122y3x676.now.sh/. Logs at http://nrn-v1-hyb-mst-aptd-gcms-lcz-sty-c1-f0oe6qb58.now.sh/_logs There are still some issues.
It's just a POC with SSG at this time. One interesting thing is that it's not required to remove the _app:getInitialProps implementation, because SSG overrides it. |
this is great @Vadorequest, thanks! |
CI is failing though, are you still working on it? |
CI is failing but it's unrelated with the PR, someone's working on it. |
[GitHub Actions] |
Any thoughts why language change is not working properly? |
Nope, but I think I need to re-think much of the current implementation related to cookies There is much complexity to support both SSR/SSG with advanced features such as i18n, it's gonna take me another week, at least. |
Make sense. |
Why are you using |
Interesting, I hadn't thought of that. But I don't believe it's the best way to go for SSG, because it's not really SSG. Here is the workflow/behaviour I intend to implement (for i18n SSG/SSR support), after reading through many discussions (i.e: vercel/next.js#10651)
@samuelcastro As you can see, there are a lot of changes to cover, and it's non-trivial. I wonder what you think about this design, do you see any flows? |
[GitHub Actions] |
… when language is missing (hardcoded to /en)
FYI: #64 |
[GitHub Actions] |
[GitHub Actions] |
Huge PR #52 has been merged, it's basically a Demo v2. Demo at https://nrn-v1-hyb-mst-aptd-gcms-lcz-sty-c1-i6tj62ina.now.sh/fr |
[GitHub Actions] |
[GitHub Actions] |
[GitHub Actions] |
[GitHub Actions] |
[GitHub Actions] |
[GitHub Actions] |
…revious/next navigation
[GitHub Actions] |
[GitHub Actions] |
…sistency with Next.js own example (and makes more sense from a dev standpoint too)
[GitHub Actions] |
[GitHub Actions] |
[GitHub Actions] |
[GitHub Actions] |
Closed and moved to #68 because we renamed the preset branch. The documentation has been updated as well, and we are now on NRN v2. I'll try to make it easier to follow what new presets are being considered/planned in a short future. |
Closed and moved to #68 because we renamed the preset branch.