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

feat: remove useless option in KeepAlive #3170

Merged
merged 1 commit into from Feb 9, 2021

Conversation

Jokcy
Copy link
Contributor

@Jokcy Jokcy commented Feb 5, 2021

It seems the inheritRef option has been deprecated, I can't find any usage somewhere.

I read about the commit which add inheritRef and find it was used to put the ref into the root vnode of it's render result. Maybe we do need to add some api like inheritRef? I created an issue about this couple days ago in rfcs, vuejs/rfcs#258

@github-actions
Copy link

github-actions bot commented Feb 5, 2021

Size report

Path Size
vue.global.prod.js 40.55 KB (-0.02% 🔽)
runtime-dom.global.prod.js 26.94 KB (-0.03% 🔽)
size-check.global.prod.js 16.31 KB (0%)

@posva
Copy link
Member

posva commented Feb 7, 2021

It was added at 38f2d23 for vue-router but at the end we can directly pass vnodes (result of h()) to <copmonent :is="vnodes" /> so we don't need this api.

@posva posva added 🧹 p1-chore Priority 1: this doesn't change code behavior. ready to merge The PR is ready to be merged. labels Feb 7, 2021
@LinusBorg LinusBorg added this to Approved in Next Patch Feb 7, 2021
@LinusBorg LinusBorg merged commit bd1240c into vuejs:master Feb 9, 2021
Next Patch automation moved this from Approved to Done Feb 9, 2021
@yyx990803 yyx990803 moved this from Done to Final (Reviewed by Evan) in Next Patch Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧹 p1-chore Priority 1: this doesn't change code behavior. ready to merge The PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants