babel-plugin-jsx
babel-plugin-jsx copied to clipboard
JSX for Vue 3
### 🤔 What is the nature of this change? - [ ] New feature - [ ] Fix bug - [ ] Style optimization - [ ] Code style optimization...
### 🧐 Problem Description Here's a lovely piece of code ,``expect to get a function but who is not in props, ```jsx some title {console.log} ``` as you can see,...
### 🐛 Bug description v-model when props has attr `required: true`, typescript report errors. link: #151  ### 🏞 Desired result ### 🚑 Other information
### 🐛 Bug description 组件: ``` import { defineComponent } from 'vue' export default defineComponent({ props: { title: String }, setup(props){ return ()=>{ return {props.title} } } }) ``` 当传入的title从对象变成字符串,就会报错...
### 🐛 Bug description ``` v-model={[dataRef.value, 'value']} ```` ### 📝 Steps to reproduce v-model argumens 无法动态,如静态变量承接都会引起 update:XX 函数是 undefined ### 🏞 Desired result ``` const xx = 'value' v-model={[dataRef.value, xx]}...
How can I pass any attribute to the component? Maybe something is wrong with my typescript configuratin, but I can't pass anything other then props that are provided by the...
### 🧐 Problem Description In Vue you are able to inject slots by using this syntax ```jsx { { default(props:Record) { return props? props.value : "No props" } } }...
### 🧐 Problem Description ### 💻 Sample code considering the optimization direction of vue jsx, can you refer to solidjs and provide some tags that help engine optimization, just like...
### 🐛 Bug description v-model与v-models都不支持变量传入修饰符及v-model的参数;一旦参数及修饰符为变量就不能双向绑定;
### 🧐 as the img, i can not debug in chrome  ### 💻 Sample code ##### file : data-picker.vue ``` import { reactive, ref, toRefs } from 'vue' import...