We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@timneutkens reached out about the fact that our app is mostly static and that we can use an experimental feature to really speed things up 🚗💨
Add the following to next.config.js
next.config.js
// Enable dynamic static exports (if a page can be static, it will be) experimental: { autoExport: true, },
Remove getInitialProps from _app.js
getInitialProps
_app.js
Move isLoggedIn logic of _app.js formerly within getInitialProps to be a part of componentDidMount(). Go off of client cookie instead of server.
isLoggedIn
componentDidMount()
Read at your leisure: vercel/next.js#7293
The text was updated successfully, but these errors were encountered:
Refactor withFonts to support #585
c45979c
Merge pull request #588 from OperationCode/refactor-with-fonts
96d9d76
Closed in #592
Sorry, something went wrong.
AllenAnthes
No branches or pull requests
Feature request
@timneutkens reached out about the fact that our app is mostly static and that we can use an experimental feature to really speed things up 🚗💨
Proposed solution
Add the following to
next.config.js
Remove
getInitialProps
from_app.js
Move
isLoggedIn
logic of_app.js
formerly withingetInitialProps
to be a part ofcomponentDidMount()
. Go off of client cookie instead of server.More Context
Read at your leisure:
vercel/next.js#7293
The text was updated successfully, but these errors were encountered: