-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Add a hook which is passed context for testing the state data passed from server to client #3294
Comments
Hi @38elements I like this idea, I'm not found of |
I love this idea too! Indeed we can do many more things than just for testing. Also, |
Why not calling it before |
It's indeed a good proposal, I aggree with @Atinux 's opinion, I can try to add it this evening. |
Could this help to overcome such persisted vuex issues? |
Thank you for reply. I think
This is very good idea. |
I am sorry. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What problem does this feature solve?
I want to test the state data passed from server to client.
This resolve this by adding a hook to get
context.nuxt
.What does the proposed changes look like?
https://github.com/nuxt/nuxt.js/blob/8feeeb0cfe4345e47f561198272ded6926d8d2b8/lib/core/renderer.js#L355-L361
↓
Usage
The text was updated successfully, but these errors were encountered: