Skip to content

Difference between similar packages. #5

@mesqueeb

Description

@mesqueeb

I'm currently using this package in a project:
wonderful-panda/vue-tsx-support

But it doesn't support the composition-api yet. In fact somewhere it says to use this (babel-preset-vca-jsx) to support composition-api.

I'm still new to TSX and JSX and have all my life written vue files. However some clients want 100% type safety in templates, and TSX is the only way this is possible to my research.

My question is, how can I understand a bit more about what all these similar packages do?

  • Some packages are webpack plugins to "compile" or "transform" source code into something else.
  • Some packages are babel plugins to also "compile" or "transform" source code.

Could you try to explain to me the difference between this package and vue-tsx-support?

In my package.json I also find a bunch of other related packages:

  • @babel/plugin-syntax-jsx
  • @vue/babel-helper-vue-jsx-merge-props
  • @vue/babel-preset-jsx
  • ts-loader
  • vue-jsx-hot-loader

I could look at each of these repo's to try and understand what each of them do and how they work together, and how they were set up in the project I'm working on. But before I do that, is there any advice you can give me about generally how this all works? Or could you give me a link to some articles explaining the general workings of this? Because right now, the more I read, the more confused I'm getting... 😅

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions