No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    TypeScript (Composition API vs Class-based)?

    Help
    2
    2
    630
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      Eaglorn last edited by

      What is the best choice?

      1 Reply Last reply Reply Quote 0
      • s.molinari
        s.molinari last edited by

        It’s just a matter of preference from what I know. That being said, the 100% officially supported version in Vue 3 will be the composition API. And, if you understand the motto “use composition over inheritance”, you’d more than likely want the composition API too. There is also already an inheritance model given with the components themselves. I personally think composition of the feature code fits in better on top of that.

        Scott

        1 Reply Last reply Reply Quote 0
        • First post
          Last post