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

Fully static sites #8483

Closed
tylermcrobert opened this issue Aug 22, 2019 · 2 comments
Closed

Fully static sites #8483

tylermcrobert opened this issue Aug 22, 2019 · 2 comments

Comments

@tylermcrobert
Copy link

tylermcrobert commented Aug 22, 2019

Feature request

Client-side navigation without getInitialProps being called

Is your feature request related to a problem? Please describe.

Screen Shot 2019-08-22 at 3 32 11 PM

  • Headless CMS data is requested on every client-side route, slowing down the site.

  • API keys are visible

Describe the solution you'd like

I'd like to be able to navigate through a site client-side (for page transitions) without having data requests in getInitialProps

Describe alternatives you've considered

  • Gatsby
  • if statements inside getInitialProps() that only runs requests on the server. Results in an error, An unexpected error has occurred.
@tylermcrobert tylermcrobert changed the title Gatsby-like static sites Fully static sites Aug 23, 2019
@timneutkens
Copy link
Member

Duplicate of #5903

@timneutkens timneutkens marked this as a duplicate of #5903 Aug 23, 2019
@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 31, 2022
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

3 participants