-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Props params passing with keep-alive #2396
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
2.8.1 & 3.0.1
Reproduction link
https://codesandbox.io/s/mo5x4nlq7p
Steps to reproduce
What is expected?
Every route is in keep-alive, so dog should be kept alive with its
name=dog
What is actually happening?
In console we see:
missing required prop: "name".
For this demo it is almost transparent, but in a real project I've faced a problem that the component that is dependent of the incoming parameter won't be rendered (as it uses apollo and computed properties binded on that parameter).
P.S. Without keep-alive it's ok
The text was updated successfully, but these errors were encountered: