Armağan Amcalar PRO
Armagan is the founder of Coyotiv GmbH, and is currently on a mission to bring a scalable and nimble engineering culture to startups and enterprises. Armagan is a public speaker, a mentor and a lecturer.
By Armağan Amcalar
This talk will begin with a brief introduction to the Composition API in Vue 3 and will show examples of how it compares to the Options API in Vue 2. We will then look at definitions of imperative and declarative programming in the context of CSS, JavaScript, and HTML. In the second part of the talk, I will argue that Vue 3 Composition API is a step backwards in the library’s programming model. This talk will introduce you to Vuelve, an open-source library I wrote to enhance the imperative programming model of Vue 3 with a declarative syntax similar to Vue 2. Finally, I will give some examples of how this results in less code, and an easier-to-understand mental model.