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(@vue/reactivity): add shallowReactive function #689

Merged
merged 4 commits into from
Feb 4, 2020

Conversation

dsseng
Copy link
Contributor

@dsseng dsseng commented Feb 3, 2020

Fixes #674. Also this PR exposes shallowReadonly.

@dsseng dsseng changed the title fix(reactive): add shallow function feat(reactive): add shallow function Feb 3, 2020
packages/reactivity/src/reactive.ts Outdated Show resolved Hide resolved
packages/reactivity/src/baseHandlers.ts Outdated Show resolved Hide resolved
@dsseng dsseng changed the title feat(reactive): add shallow function feat(@vue/reactivity): add shallowReactive function Feb 4, 2020
@dsseng dsseng requested a review from yyx990803 February 4, 2020 14:28
@yyx990803 yyx990803 merged commit 7f38c1e into vuejs:master Feb 4, 2020
@dsseng dsseng deleted the feat/shallow branch February 4, 2020 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reactivity: add and expose a shallow function
2 participants