Giter VIP home page Giter VIP logo

Comments (4)

adammockor avatar adammockor commented on May 23, 2024 2

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.

hippotastic avatar hippotastic commented on May 23, 2024 2

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.

shuding avatar shuding commented on May 23, 2024

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.

leerob avatar leerob commented on May 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.