Composition API

Modern front-end frameworks such as React, Angular, and Vue encourage developers to reuse components, by improving both efficiency and maintainability. However, these components can become difficult to read and understand as the logical requirements for forecasting increase. To address this issue, VueJS has introduced a new API called the Composition API in the Vue3 update.
The Composition API is a whole new way to structure and create Vue components and handle the complexity of code organisation properly. Another exciting thing is that React Hooks stimulates the Vue Composition API. However, both address the same issue, but in different ways. The main difference between them is that Vue’s setup function runs only once when the component is created, while React Hooks can run multiple times during rendering.

Curious to find out more about the topic? Be sure to check out Ben Hong‘s talk, where he walks you through the fundamentals of the Composition API. This discussion will not only help you learn the fundamentals of this topic, but also give you the confidence you need, to begin exploring the Composition API on your own!, the Ultimate Resource for Vue.js Developers, was founded by Gregg Pollack. He previously launched Code School, an online software programming school, Envy, a web application development firm, and Starter Studio, Orlando’s first technical accelerator, which is currently in its ninth class. In his talk in Vuejs Amsterdam, Greg gives an introduction to Composition API where he discusses the basics, why its needed, reactive references, methods, computed properties, Reactive vs Refs and Modularizing. Make sure not to miss his talk and learn much more about Composition API!

Leave a Reply

%d bloggers like this: