Evan You
4d8226fb2c
fix: keep-alive should not cache anonymous components
This only happens if the component is returned by a intermediate
functional or abstract component, e.g. <router-view>. Fix #6938 .
7 years ago
Evan You
6d6b3739e1
fix: should warn unknown components inside <keep-alive>
7 years ago
Evan You
5a9da95b8a
fix(slots): properly handle nested named slot passing
fix #6996
7 years ago
Evan You
1cf02efda2
fix: also clone component slot children during deepClone
fix #6891 , fix #6915
7 years ago
Evan You
68bdbf508b
fix: perperly handle v-if on <template> scoped slot
fix #6725
7 years ago
Dominik Rabij
514b90b647
fix: add slot v-bind warning ( #6736 )
close #6677
7 years ago
Evan You
2cba6d4cb1
feat: add max prop for <keep-alive>
7 years ago
Evan You
dae173d96d
feat: support denoting normal elements as scoped slot
also deprecate "scope" in favor of "slot-scope"
7 years ago
Evan You
684cd7d21a
fix: preserve slot attribute if not resolved by Vue
close #6553
7 years ago
Josh Soref
f477ecdbbb
chore: spelling ( #6535 )
7 years ago
Evan You
986a669e8f
chore: trim trailing whitespace
7 years ago
Evan You
0529040c17
fix: deep clone slot vnodes on re-render
fix #6372
7 years ago
JK
a43d66743b
fix(transition): consider async placeholder as valid child to return ( #6369 )
fix #6256
7 years ago
AchillesJ
06b9b0bbad
fix(v-bind): respect .prop modifier on components ( #6159 )
7 years ago
Evan You
485e7403e4
test: make tests pass in IE
7 years ago
AchillesJ
458030ae19
fix: v-bind object should not override props on scopedSlots ( #5995 )
* v-bind object should not override props on scopedSlots
* Update render-slot.js
8 years ago
JK
51c595a7ce
feat(keep-alive): support Array for include and exclude ( #5956 )
* allow array index on keep-alive:include/exclude
* add Array in patternTypes
* fix flow type
* add flow type for include/exclude in watch
* add test case
8 years ago
Evan You
0cd6ef321b
feat: resolve ES module default when resolving async components
8 years ago
kingwl
213f136a6e
fix slot resolved incorrect with abstract component ( fix #5888 ) ( #5895 )
8 years ago
chengchao
aaad7334d9
improve scoped slot test case ( #5640 )
8 years ago
Evan You
8d54aecdd0
async components: timeout should not trigger if already resolved ( fix #5635 )
8 years ago
Evan You
0ccefff794
support v-for on scoped slots ( fix #5615 )
8 years ago
laoxiong
f2bd882073
Fix: nested child elements can not be updated correctly, fix #5618 ( #5627 )
* fix:nested elements can not be updated correctly
* add tests
* ensure nestedIndex is always passed down
8 years ago
Evan You
cb0531c4fb
increase async delay for more test cases
8 years ago
Evan You
1096890827
increase async component test delay
8 years ago
Eduardo San Martin Morote
380e988823
Allow slot names to be numbers ( #5481 )
Closes #5480
8 years ago
Evan You
c82546c54b
fix keep-alive pruning active instance
8 years ago
Evan You
d2b7142cf5
tests for advanced async component features
8 years ago
Evan You
354c2f4922
fix keep-alive cache incorrectly pruned with transition mode="out-in" ( fix #5346 )
8 years ago
Razvan Stoenescu
255b627f39
fix #5321 don't throw error when node gets relocated ( #5322 )
* don't throw error when node gets relocated
* perf: Simplify if check in vdom/patch
8 years ago
Evan You
0bb529a275
also warn when listening to camelCase events in in-DOM templates
8 years ago
Evan You
041683953a
improve camelCase prop warning message
8 years ago
CodinCat
025e763124
Warn when not passing props in kebab-case ( #5161 )
* Warn when not passing props in kebab-case
* Move keyInLowerCase to dev only block
8 years ago
Evan You
303824ea9c
default slot should use fallback content when it contains all whitespace nodes ( fix #5097 )
8 years ago
YOU
61930e0cc6
chore(test): fix some typos ( #5101 )
8 years ago
YOU
62e4f2b3d1
chore: fix some closetag mismatches ( #5088 )
8 years ago
YOU
40bc5923ae
chore: preserveWhitespace is true by default ( #5082 )
8 years ago
Evan You
9ccffe72db
invoke activate/deactivate recursively + refactor ( close #4242 )
8 years ago
Evan You
5ae63d9d2f
warn v-for component lists without explicit keys
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
fe6a26bb9c
keep-alive: prune cache on include/exclude change, also avoid firing deactivate for already inactive components ( fix #4633 )
8 years ago
松鹤
610fe31592
add unit test for dynamic with props ( #4570 )
add unit test for dynamic component with props
8 years ago
Evan You
0cbc96101d
add new transition to-state classes
8 years ago
Evan You
02e2d99e27
Revert "ensure leave transitions and enter transitions are triggered in the same frame ( fix #4510 )"
This reverts commit 92ad0bd378
.
8 years ago
Evan You
0bb2d4e2b6
Revert "fix enter transition flicker regression ( fix #4576 )"
This reverts commit 89987e8e2c
.
8 years ago
Evan You
89987e8e2c
fix enter transition flicker regression ( fix #4576 )
8 years ago
Evan You
0eb8cdc7f7
support v-bind object on scoped slots ( fix #4529 )
8 years ago
Evan You
92ad0bd378
ensure leave transitions and enter transitions are triggered in the same frame ( fix #4510 )
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
61f7d0db87
actually complete test case for #4339
8 years ago