carbon-design-system / carbon-components-vue

Vue implementation of the Carbon Design System
http://vue.carbondesignsystem.com
Apache License 2.0
608 stars 178 forks source link

Remove or remedy functional component use for Vue 3 #1024

Open lee-chase opened 4 years ago

lee-chase commented 4 years ago

Vue 3 functional is now rarely needed due to performance improvements.

https://v3.vuejs.org/guide/migration/functional-components.html#overview

Remove 'functional' switch from template components and update CvWrapper to use the suggested syntax. Check in Vue forum as to whether there is a better way to create or remove Vue wrapper.

Suggestion review https://www.vuemastery.com/courses/vue3-deep-dive-with-evan-you/how-to-use-render-functions

github-actions[bot] commented 3 months ago

This issue has been marked as stale because it has required additional info or a response from the author for over 14 days. When you get the chance, please comment with the additional info requested. Otherwise, this issue will be closed in 14 days.