Evan You
9b22d86ab3
fix: install ssr helpers for functional context during SSR
close #7443 , ref nuxt/nuxt.js#2565
7 years ago
Evan You
aac76349e7
Revert "feat: auto cache inline prop literals to avoid child re-render"
This reverts commit 996eb00a0a
.
7 years ago
Hanks
661bfe552e
feat(weex): partially support lifecycles of virtual component ( #7242 )
Update the `_init` and `_update` logic to partially support lifecycles.
Add test cases for testing the lifecycle hooks and data update.
7 years ago
Hanks
b8d33ecd9a
feat(weex): WIP implement virtual component ( #7165 )
7 years ago
Evan You
996eb00a0a
feat: auto cache inline prop literals to avoid child re-render
7 years ago
Evan You
f5cd29e1d8
fix: init _staticTrees to avoid runtime reference warning
fix #7075
7 years ago
Evan You
bb1d888d44
refactor: remove no longer needed _staticTrees property
7 years ago
Evan You
4987eeb3a7
feat: v-on automatic key inference
7 years ago
赵鑫晖
59dbd4a414
fix: ensure $attrs and $listeners are always objects ( #6441 )
fix #6263
7 years ago
Evan You
61187596b9
feat(core): $attrs, $listeners & inheritAttrs option
New features intended for easier creation of higher-order components.
- New instance properties: $attrs & $listeners. these are essentially aliases
of $vnode.data.attrs and $vnode.data.on, but are reactive.
- New component option: inheritAttrs. Turns off the default behavior where
parent scope non-prop bindings are automatically inherited on component root
as attributes.
close #5983 .
7 years ago
Evan You
11614d63b7
feat(v-on): support v-on object syntax with no arguments
Note this does not support modifiers and is meant to be used for handling
events proxying in higher-order-components.
7 years ago
wenlu.wang
3965e5053a
feat: support sync modifier for v-bind="object" ( #5943 )
close #5937
8 years ago
Evan You
c994e5cf48
upgrade flow
8 years ago
Evan You
36bdf48550
handle dynamic class
8 years ago
Evan You
9fbca0dc79
remove unused, fix type
8 years ago
Evan You
26953f5cac
add semis to flow decls for better syntax highlighting
8 years ago
Evan You
0ccefff794
support v-for on scoped slots ( fix #5615 )
8 years ago
Herrington Darkholme
bb7c543fc2
fix #5539 : improve `isDef` type definition ( #5549 )
* fix #5539 : improve flow type coverage
* skip unnecessary object creation
* use flow internal syntax to enable predicate type
8 years ago
Evan You
a7965292f4
comments for flow type nodes
8 years ago
kazuya kawaguchi
0922b1d8aa
improve set/delete API ( #5050 )
8 years ago
Bojan
1b38a261c5
support multi event ( #5056 )
8 years ago
Evan You
e7a2510e63
Revert "[WIP] Support for ref callback ( #4807 )"
This reverts commit acec8db2c4
.
8 years ago
Evan You
4cf49828c0
properly handle cosntructor options modification before global mixin application ( fix #4976 )
8 years ago
Evan You
73c5614740
update types for new features
8 years ago
Evan You
689c107de4
feat: config.performance
8 years ago
Evan You
9ccffe72db
invoke activate/deactivate recursively + refactor ( close #4242 )
8 years ago
kingwl
8bb6c2bdaa
support $on multi event ( #4860 )
8 years ago
Rahul Kadyan
acec8db2c4
[WIP] Support for ref callback ( #4807 )
* ✨ Tests for ref callback
* ✨ Support for ref callback
* Add test of inline ref callback
* adjust ref implementation strategy
* fix patch ref registration
* fix tests
* fix flow
* fix test for phantomjs
8 years ago
Evan You
406352baba
move computed properties definition to component prototype when possible
8 years ago
Evan You
87ffd0da9f
tweaks
8 years ago
yantene
22f9560c92
add $props
8 years ago
Evan You
e7083d09f1
fix scoped slots with dynamic slot names + force update for child components with scoped slots ( fix #4779 )
8 years ago
Evan You
dacd0cf582
createElement flow type correction
8 years ago
Evan You
7ffa77f3df
optimize instance hook event lookup
8 years ago
Evan You
7c9e81e772
optimize initEvents
8 years ago
Marshall Shen
6cfd6c7fe9
change any to mixed to make it more type-safe ( #4458 )
8 years ago
Evan You
4b51ad0483
rename _h -> _c so that vue-template-es2015-compiler can use the new internal createElement without breaking backwards compatibility
8 years ago
Evan You
207c18c47f
further reduce normalizeChildren usage
8 years ago
Evan You
79e1058799
wip: refactor compiler to skip normalization when possible
wip fix
wip fix
wip fix
8 years ago
Evan You
e8d6bd9dc7
allow modifier key modifiers on keyboard events and warn overwriting in config.keyCodes
8 years ago
chengchao
6ea9a4db42
Support mutliple keys for keycode ( #4328 )
* support mutliple keys for keycode
* update flow type
* add test case
* update comment
* update flow type
* update comment
8 years ago
Evan You
aa5f5d1198
ensure $scopedSlots is always an object ( close #4301 )
8 years ago
Evan You
9ddbbcc340
wip: scoped slot implementation
8 years ago
Evan You
ec824be88e
fix v-once inside v-for ( fix #3964 )
8 years ago
Evan You
99ea0f8229
adjust named slot resolve check ( fix #3819 )
8 years ago
Evan You
56960b5fbc
support object looseEqual in v-model ( fix #3673 )
8 years ago
Evan You
d6a7568891
improve v-bind implementation and make it work on components ( fix #3670 )
8 years ago
Evan You
4afccc8eec
proper slot duplication warning ( fix #3595 )
8 years ago
Evan You
4d640ce4d9
tweak v-if to avoid unnecessary node replacement
8 years ago
Evan You
1e74675053
expose Vue.set/delete on instances as vm.$set/$delete
8 years ago