Skip to content

refactor(effect): cache tracking value#11145

Merged
yyx990803 merged 2 commits intovuejs:mainfrom
jh-leong:fix/effect
Jun 22, 2024
Merged

refactor(effect): cache tracking value#11145
yyx990803 merged 2 commits intovuejs:mainfrom
jh-leong:fix/effect

Conversation

@jh-leong
Copy link
Copy Markdown
Member

Cached the result of dep.get(effect) to reuse it within the same scope

Comment thread packages/reactivity/src/effect.ts Outdated
@haoqunjiang haoqunjiang added the 🧹 p1-chore Priority 1: this doesn't change code behavior. label Jun 17, 2024
@yyx990803 yyx990803 merged commit 7936dae into vuejs:main Jun 22, 2024
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants