luwanquan / babel-preset-vca-jsx

Automatically imports createElement as h when writing JSX and functional syntax that supports only setup() and template refs that supports setup()
https://codesandbox.io/s/babel-preset-vca-jsx-example-7k5xs
75 stars 8 forks source link

Move to vuejs/jsx #14

Open antfu opened 4 years ago

antfu commented 4 years ago

Hi @luwanquan, I am the maintainer of @vue/composition-api. Thanks for making this awesome util and I believe there are many projects rely on it already. Great work!

As the @vue/composition-api is into the v1.0 beta stage, we would like to have the first-class jsx support. So we are inviting you to move this project into the official vuejs/jsx repo and be released within @vue/babel-preset-jsx. /cc @sodatea

Please let us know what you think. If you don't have much time on this, we can help with the transformation and will credit you properly. Thanks!

luwanquan commented 4 years ago

Hi @antfu , I'm really sorry for my late reply. I haven't returned to GitHub for a while due to personal and work trivia.

Thank you very much for the invitation and your help. I have seen and are following related updates feat: add @vue/composition-api support

Regarding whether other functional modules of the current tool will be migrated to vuejs/jsx, I don’t know if you have a better idea or implementation for this? Hope to communicate further.

It seems that the current tool needs to be updated slightly. Hope to provide better support for jsx. Thanks again!

wisetc commented 3 years ago

hey, guys, jsx + @vue/composition-api is amazing. But syntax hightlight is not working some times. Attributes like v-xx directive and style object may cause the problem. Now color of normal code is same as color of comments. Do you have the same problem? How do you resolve it?