Skip to content
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

Question: Making part of the app static #3026

Closed
aviramga opened this issue Oct 1, 2017 · 10 comments
Closed

Question: Making part of the app static #3026

aviramga opened this issue Oct 1, 2017 · 10 comments

Comments

@aviramga
Copy link

aviramga commented Oct 1, 2017

Hi,

We are in the process of re-building our homepage and landing pages infrastructure and considering NextJS as a prime candidate. I few questions came up which I could find an answer in google and I was hoping for your help.

  1. Is it possible to make part of the project static and part SSR?
  2. How fast is the build process? One of our key issues right now is that middleman takes almost 20 minutes building all the pages (we have hundreds of landing pages)
  3. When will V4 are planned to be out? We know that there has been great improvements with React16 and would really hate to miss on utilizing its full SSR power.
  4. Will V4 include any breaking changes? (I know that React16 wouldn't)

Thanks!!!!!

@timneutkens
Copy link
Member

timneutkens commented Oct 1, 2017

Update 29 december 2019:

You can achieve hybrid static/dynamic applications with Next.js: https://nextjs.org/docs/basic-features/pages

Old reply from 2 years ago.

Is it possible to make part of the project static and part SSR?

This is currently not possible (at least with the client side rendering) you either have a static or a dynamic app 😄

How fast is the build process? One of our key issues right now is that middleman takes almost 20 minutes building all the pages (we have hundreds of landing pages)

It highly depends, @arunoda might have some insights 👍

When will V4 are planned to be out? We know that there has been great improvements with React16 and would really hate to miss on utilizing its full SSR power.

We're planning to release it very soon, we've waited a few days to make sure there are no issues 👍

Will V4 include any breaking changes? (I know that React16 wouldn't)

Yes and no, we will only support React 16 going forward 👌 React 15 won't work with v4

@aviramga
Copy link
Author

aviramga commented Oct 1, 2017

Thanks @timneutkens !!!

What do you mean its not possible with the client side rendering? I only want to be able to render part of the site with SSR, and generate another part staticly. I think I read in the docs that anything under the static directory will be generated in the build process and the rest will be accessible via SSR

@sergiodxa

This comment has been minimized.

@aviramga

This comment has been minimized.

@sergiodxa

This comment has been minimized.

@aviramga

This comment has been minimized.

@gragland

This comment has been minimized.

@aviramga

This comment has been minimized.

@sergiodxa

This comment has been minimized.

@lock
Copy link

lock bot commented May 10, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants