Commit Graph

33 Commits

Author SHA1 Message Date
三咲智子 Kevin Deng bfe6b459d3
style: update format & lint config (#9162)
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
Evan You 8867bb259a wip(vitest-migration): reactivity tests passing 2023-01-26 15:25:55 +08:00
Thorsten Lünborg c71a08e6fd
fix(runtime-core): Lifecycle hooks should support callbacks shared by reference (#6687)
fix #6686
2022-09-26 22:18:22 -04:00
Evan You 47f488350c chore: run updated prettier 2021-07-19 18:24:18 -04:00
Anthony Fu f5617fc3bb feat(reactivity): new effectScope API (#2195) 2021-07-16 14:30:49 -04:00
Guillaume Chau 349eb0f0ad
feat: onServerPrefetch (#3070)
Support equivalent of `serverPrefetch` option via Composition API.
2021-05-07 12:00:52 -04:00
ᴜɴвʏтᴇ 052a621762
feat(compile-core): handle falsy dynamic args for v-on and v-bind (#2393)
fix #2388
2020-10-19 17:15:53 -04:00
zhangzhonghe 1ea24000c8
fix(keep-alive): should remove wrapped version of injected keep alive hooks (#1959) 2020-08-25 10:02:39 -04:00
Evan You eb2ae44d94 refactor(types): widen `Component` type to include consutructor types
returned from `defineComponent`

ref: https://github.com/vuejs/vue-router-next/pull/421
also close #1880

Previous `Component` type is now exported as `ConcreteComponent`.

This introduces a minor breaking change when calling `h(comp, { ... })`
will now fail if `comp` is a of generic `Component` type, since it does
not specify what props it expects.
2020-08-19 16:19:25 -04:00
hareku 257727569a
types(runtime-core): update error type to unknown (#798) 2020-03-09 15:58:52 -04:00
Evan You d9d63f21b1 fix(reactivity): avoid cross-component dependency leaks in setup() 2020-02-17 23:14:07 -05:00
Evan You bc07e95ca8 fix(ssr): avoid hard-coded ssr checks in cjs builds 2020-01-29 09:49:17 -05:00
Evan You 25a0d4a65f wip(ssr): reduce reactivity overhead during ssr 2020-01-27 16:00:17 -05:00
Evan You 90b9884eb4 refactor: rename/re-organize files 2019-11-02 12:18:35 -04:00
Evan You 5fcb81050a test: tests for keep-alive 2019-10-30 21:41:28 -04:00
Evan You c6cbca25fe feat(core): keep-alive 2019-10-29 22:28:38 -04:00
Evan You b5886189ba types: massive refactor 2019-10-22 11:53:32 -04:00
fisker Cheung e5d60a0f7a types: use hook type in options (#284) 2019-10-14 23:15:09 -04:00
Evan You 37cbd0098d chore: lint + include tsx files for lint 2019-10-14 15:07:43 -04:00
fisker Cheung 70a142c203 refactor(runtime-core): programmatically create lifecycle APIs for DRYness (#246) 2019-10-13 23:18:34 -04:00
Evan You d87255ce46 fix(options): data options should preserve original object if possible 2019-10-02 10:03:43 -04:00
Evan You 356a01780b wip: watcher callback handling inside suspense 2019-09-11 11:10:13 -04:00
Evan You 51914c76e8 wip: do not fire lifecycle hooks when already unmounted 2019-09-11 11:10:13 -04:00
Evan You 360f3b4f37 types: improve type exports 2019-09-06 12:58:31 -04:00
Evan You 0f25c29119 refactor: reorganize component related code and types 2019-09-06 11:19:22 -04:00
Evan You a6de6daa17 wip: disable tracking in all hooks 2019-09-04 18:20:47 -04:00
Evan You a6616e4210 feat: 2.x options support 2019-09-03 22:25:38 -04:00
Evan You be28f976af test: tests for error handling 2019-08-30 16:08:10 -04:00
Evan You 966d7b5487 feat: error handling for setup / render / watch / event handlers 2019-08-30 15:05:39 -04:00
Evan You 7fe82398f7 refactor: call instead of wrap 2019-08-30 12:22:41 -04:00
Evan You 3d681f8bcd feat: error handling for lifecycle hooks 2019-08-30 12:16:09 -04:00
Evan You b40b7356ef test: tests for lifecycle api 2019-08-28 12:13:36 -04:00
Evan You 07403c9aba wip: restructure api + support watch multiple sources 2019-06-07 14:55:38 +08:00