Can I make my babel plugin execute before the internal vite:react-babel? #399
-
Beta Was this translation helpful? Give feedback.
Answered by
ArnaudBarre
Dec 26, 2024
Replies: 1 comment
-
From the output it looks like you are using the react compiler. I don't know what exactly what your v-model syntax does, but surely it will breaks assumptions from the compiler. Plus it will also breaks various lint rules. I really don't recommend to break out of React and the ecosystem for a small syntax change. Maybe you prefer Vue to React, but trying to do vue with React will just make things worth than raw React. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
libondev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From the output it looks like you are using the react compiler. I don't know what exactly what your v-model syntax does, but surely it will breaks assumptions from the compiler. Plus it will also breaks various lint rules. I really don't recommend to break out of React and the ecosystem for a small syntax change. Maybe you prefer Vue to React, but trying to do vue with React will just make things worth than raw React.