-
Notifications
You must be signed in to change notification settings - Fork 27.7k
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 export #5485
Fully static export #5485
Conversation
What's the reasoning behind this? Can't it be run during export? |
Probably I need to be clearer, @sebastiandedey by setting |
So there are a few things that come to mind:
Instead of saying getInitialProps won't be called, which is not completely true as we call it on
|
@timneutkens that makes sense, let me update the PR. |
if only disable getInitialProps when call on SSR, the client side still working. how can configure? |
@
this useful function is still not working/ok now? |
That's what an open pull-request means yes. |
c33a23f
to
fbdad6a
Compare
I'm going to close this PR, feel free to open a new one with my feedback taken into account: #5485 (comment) |
Sure, I'm working on that, HMR breaks as removing some scripts that are not needed when removing React, so I'm still working on solving that issue. I saw |
Basically I want to deprecate / remove |
I'm also looking for a feature like this! @timneutkens can you tell me more about your idea ? I'd love to help and make a PR! |
Enable fully static export by adding the property to the configuration object.