4
2 Comments

What do you think about upcoming composition api?

Hey everyone!

As vue 3 is coming to the world of javascript frameworks I can see more and more discussions about the composition api that will ship by default with new version of framework.

We can already use composition api with Vue 2 https://composition-api.vuejs.org/

Composition api will offer better code reusability and allow developers to structure their code more freely. However, as an indie/freelancer developer who usually works with small to medium size projects I don't really see myself using this as I think it's more meant for bigger projects.

What are your opinions about composition api?

  1. 2

    It's like React Hooks : nothing more than awesome !

  2. 1

    I definitely see the value and benefit when using the new Vue 3 Composition API. It solves some issues in large scale applications e.g. code reuse in the view layer. Also it brings some features to compete with its competitors. I especially love the ability to organize code based on feature instead of their function in Vue.

Trending on Indie Hackers
Guide: How to get your first 10 customers 28 comments I've built a 2300$ a month SaaS out of a simple problem. 17 comments I just landed my first paying customer! 11 comments 🔥 Roast My Landing Page 8 comments How to validate your business idea with 5 simple steps from "The Mom Test" 6 comments Key takeaways growing MRR from $6.5k to $20k for my design studio 5 comments