vuejs/vue-vapor

Slots level mess up

Doctor-wu opened this issue · 1 comments

Currently, dynamic slots will re-render when dependencies change.
It will override static slots if the dynamic slot has the same name as the static slots which is not expected.
Slots should determine who renders based on the declaration order.

Check DEMO and change input's value, and then change back to "default", you will find the dynamic slots rendered, but it shouldn't, since static slot declared later than dynamic slot.