https://github.com/ivan-kleshnin/nextjs-pssr-poc
NextJS Partial SSR (proof of concept)
https://github.com/ivan-kleshnin/nextjs-pssr-poc
nextjs react ssr
Last synced: 6 months ago
JSON representation
NextJS Partial SSR (proof of concept)
- Host: GitHub
- URL: https://github.com/ivan-kleshnin/nextjs-pssr-poc
- Owner: ivan-kleshnin
- Created: 2020-02-06T12:50:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T14:32:11.000Z (almost 3 years ago)
- Last Synced: 2025-04-15T04:13:21.156Z (6 months ago)
- Topics: nextjs, react, ssr
- Language: JavaScript
- Homepage:
- Size: 1.11 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PSSR (Partial-SSR) in NextJS: proof of concept
## Setup and Run
1. Pull the code
2. `$ yarn install`
3. `$ yarn dev`
4. Visit `https://localhost:3000/blog/1`
5. Visit `https://localhost:3000/blog/2`See that you aren't limited by some fixed (static) list of ids.
The HTML payload contains data. It's all static server-side with the ability to fetch data.
And all dynamic client-side with the ability to... everything.```html
Post 2 -- static HEAD (any meta you like)-- dynamic BODYLoading...
```---
Check my blog post ["SSR is not the future of web development"](https://paqmind.com/en/blog/ssr-is-not-the-future) for more details.