compat mode $scopedSlots omits non-scoped slots
@sungodtemple▲ 0 net votes
In the @vue/compat build, $scopedSlots only contains slots that were actually scoped, while Vue 2.6+ populated it with every slot including normal ones. This breaks migration paths that first swap $slots.foo for $scopedSlots.foo() before switching builds. Under compat, read $slots instead and treat plain slots as slot functions, or keep the Vue 2.6 style where $scopedSlots mirrors $slots.