when I set empty string to include in keepalive , I hope it will never cache any component.But now,it is a bit counter-intuitive
Open
Nobody has claimed this yet.
🔩 p2-edge-case
scope: keep-alive
- Dominant language
- TypeScript
- Stars
- 54.4k
- Forks
- 9.2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 140
Description
Vue version
3.4
Link to minimal reproduction
Steps to reproduce
- click button to switch component and input something
- After that, toggle,and component still be cached
What is expected?
no cache anything
What is actually happening?
cache as not set it
System Info
No response
Any additional comments?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Vue playground reproduction and verify how an empty keepalive include value is interpreted when switching components. Trace the KeepAlive include matching behavior and confirm that the expected result is no component caching; the playground should demonstrate the completed behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100