-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
feat(reactivity): add pause/resume
methods to ReactiveEffect
#9651
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
Merged
yyx990803
merged 46 commits into
vuejs:minor
from
Alfred-Skyblue:feat/effect/pause-resume
Aug 2, 2024
+193
−14
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
5a279be
feat: add `pause/resume` function to `ReactiveEffect`
Alfred-Skyblue 9bda252
chore: rollback
Alfred-Skyblue c2b7333
feat: extend `ReactiveEffect` using derived class `RenderEffect`
Alfred-Skyblue df77be4
Merge branch 'main' into feat-effect
Alfred-Skyblue a5446a3
Merge branch 'main' into feat-effect
Alfred-Skyblue 540e408
Merge branch 'main' into feat-effect
Alfred-Skyblue a4e43a8
Merge branch 'main' into feat-effect
Alfred-Skyblue ac2dcd6
Merge branch 'main' into feat-effect
Alfred-Skyblue b91a0a1
Merge branch 'main' into feat-effect
Alfred-Skyblue 92419a2
Merge branch 'main' into feat-effect
Alfred-Skyblue 34e569c
feat(KeepAlive.ts): use the `lazy` prop to control updates
Alfred-Skyblue 88a6ac6
test: update unit test
Alfred-Skyblue 1c5b52d
Merge branch 'main' into feat-effect
Alfred-Skyblue 55b2ca5
feat(reactivity): EffectScope adds pause and resume function
Alfred-Skyblue 7ed2b07
feat(runtime-core): mark effectScope in component as not detached
Alfred-Skyblue cb4faf8
types(effectScope): add constructor overload
Alfred-Skyblue 6ffcc0b
docs: update comments
Alfred-Skyblue 930fa3e
test: add unit test
Alfred-Skyblue 0a8f82e
Merge branch 'main' into feat/effect/pause-resume
Alfred-Skyblue d8754f3
Merge branch 'minor' into feat/effect/pause-resume
Alfred-Skyblue b0e64fe
chore: rollback component EffectScope
Alfred-Skyblue 791c904
chore: rollback keepAlive
Alfred-Skyblue f2de749
feat: Intercept `scheduler` execution
Alfred-Skyblue 7a4c366
feat(apiWatch): add pause and resume methods to WatchHandle
Alfred-Skyblue 22cfc8e
test: update unit test
Alfred-Skyblue 381e5f2
feat(apiWatch): add the `immediate` parameter for the `watch` functio…
Alfred-Skyblue baa4d4d
chore: rename attribute name
Alfred-Skyblue 214e77f
chore: simplify effect.ts
Alfred-Skyblue 14f0919
feat: do not allow calling the resume method after stopping
Alfred-Skyblue 1c3facf
Merge branch 'minor' into feat/effect/pause-resume
Alfred-Skyblue 401418c
chore: rollback renderer.ts
Alfred-Skyblue f782c6b
chore: rollback KeepAlive.ts
Alfred-Skyblue 9e7c1e5
chore(effectScope): remove the `parent` parameter from EffectScope
Alfred-Skyblue 287c182
Merge branch 'minor' into feat/effect/pause-resume
Alfred-Skyblue 406268d
feat: `effect` is always fired once on recovery
Alfred-Skyblue 98cfd71
chore: in SSR, when not in sync mode, directly return an NOOP
Alfred-Skyblue 4872137
Merge branch 'minor' into feat/effect/pause-resume
Alfred-Skyblue 4b9026a
Merge branch 'minor' into feat/effect/pause-resume
Alfred-Skyblue fde852b
Merge branch 'minor' into feat/effect/pause-resume
Alfred-Skyblue bbfeb9d
Merge branch 'minor' into feat/effect/pause-resume
Alfred-Skyblue ef2ad1b
Merge branch 'minor' into feat/effect/pause-resume
Alfred-Skyblue a1426d5
Merge branch 'minor' into feat/effect/pause-resume
Alfred-Skyblue 108eb94
Merge branch 'minor' into feat/effect/pause-resume
Alfred-Skyblue 272fb51
chore: Merge branch 'minor' into feat/effect/pause-resume
yyx990803 e2e6eae
refactor: simplify some code
yyx990803 d836595
chore: more simplifications
yyx990803 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: simplify effect.ts
- Loading branch information
commit 214e77f8417f261121bfa9b082988d8337bf25e4
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.