[DISCUSSION]: Composition API, Typescript, and rewrites. #2650
Unanswered
LeaderbotX400
asked this question in
PrimeVue
Replies: 1 comment
-
intersted |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The purpose of this discussion, is to discuss the feasibility and potential desire to migrate to Vue's composition API using the script setup syntax. As well as migration to a more modular composable based system as component extensions aren't a thing within the composition API.
While this will be a major task, effectively rewriting every component. I believe it will be worth the trade off. Moving to the composition API forces components to be a little more self-contained but allows for more effective use of things like Vue's support for typed generics in things like
defineModel
,defineProps
, anddefineEmits
.The Above will be a much needed DX improvement on components like
Timeline
,DataTable
, etc.Beta Was this translation helpful? Give feedback.
All reactions