Comments (4)
Well, not all content should be static. That's the point of RSC if I understand it correctly. If we forget about streaming, colocation of data instead of having getStaticProps
and less code in bundle due exclusion of server components and partial hydratation could be very useful for SSG too. But maybe I don't understand it correctly and RSC is not there yet.
from next-react-server-components.
If I understand correctly how next export
works, all prerendered HTML will still be hydrated on the client. Iād love to remove this unnecessary hydration step for static components, which make up most of my pages, and hope that RSC can become a way to make that work.
from next-react-server-components.
Currently, next export
is not supported with RSC. You probably don't need RSC if you want all your content to be fully static.
from next-react-server-components.
Hey all! next export
support is planned for the app
directory, but is not implemented. We won't be adding next export
to this demo specifically, but will be talking more about this once support has landed. You can view the roadmap here: https://beta.nextjs.org/docs/app-directory-roadmap
from next-react-server-components.
Related Issues (20)
- Document or fix known issues with this demo HOT 22
- Not able to start the project in dev HOT 4
- Missing files, but `import` statement present
- trailing slash does not seem to work with RSC on HOT 2
- Remove TypeScript from demo
- Not working with React 18 rc.1 HOT 1
- Handling error in data fetching
- npm install breaks styled-jsx
- TransformStream is not defined HOT 5
- RSC with delay example broken
- What is the Nav component doing? HOT 3
- Webpack error when trying to use a component that statically imports an image
- Breaks browser button behavior and unnecessarily re-renders page HOT 1
- Server components are broken with Next v.12.2.1 HOT 3
- Server dependency is being included in the frontend bundle HOT 2
- Add pagination and "more" button at the bottom
- Move to TypeScript
- How to debug server side component? HOT 2
- Is the file locate at lib folder is server components? HOT 2
- Bump next dep to a more recent version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-react-server-components.