Comments (9)
Sorry for that. We should warn the unstable status of vue-function-api. I think some beta releases would be necessary. We do consider our users.
from composition-api.
It has been 3 days after I commented in #62.
While I understand your frustration, this doesn't give you the right to open an issue with this tone and drop all your frustration on the author of the lib (which I am not, I haven't even pushed to this repo).
A more appropriate way would have been to list specific breaking changes so anyone can work on fixing them. We will gladly accept a new issue with a more appropriate tone and listing the breaking changes that shouldn't have happened
from composition-api.
I have methoned it in my issue:
The name and components options , will probably inherited from vue 2, while now this package force us to hack it.
while you don't see it.
That 's now where the problem is.
I do understand your work, while thoughn I was complaining about rewriting my files over and over again, but my point is stop making break changes which the RFC does not methoned. Just remain as the vue2 do, instead of changing into a new style or let us hack it. Among the people who are using this package , maybe some just wanna try vue3 style, but I think there are amount of people like me just want to be fimilar to vue3, and we are trying to prepare to move on to vue3. Just as its doc says(or used to say)(I didn't find the words just then): Just change the vue-function-api
into vue
. And we can move to vue3.
But while you upgraded it and I wrote with ts along with it, I rewrote all my components 4 times in order to clear the error I triggered after update. I WAS talking about vue2 compatable
when the RFC and Evan You did not specific how to write in vue3.
from composition-api.
I do think that you CAN understand what changes is non-RFC mentioned
and non-vue2 compatable
.
That is all my opinion.
If you want, I can start a new issue listing all the non-RFC mentioned and non-vue2 compatable changes, but I don't think that is nessary, and I also think that let the people who already swithed to roll back is not a good idea. So please just stop breaking any more now, if only it is nessary.
from composition-api.
同样遇到这个问题,升级之后用ts发现 createComponent里面 只能写setup, 组件的其他属性,name,componets之类的都会报ts类型错误,这跟vue3目前公布的rfcs是违背的
from composition-api.
@pangao66 my workaround is to add // @ts-ignore
before name
.
Or please wait for bugfixes before updating to the current unstable version.
from composition-api.
Beta release will be fine. And I think the types file should be improved.
from composition-api.
But the v3 is only in rfc and this package is in early development, you using this package is already accepting that there will be breaking changes until it settles down. There's no reason to go ham just because you can't wait for it to become stable. While i would prefer it used <1 versioning until it's stable, it is what it is.
from composition-api.
But the v3 is only in rfc and this package is in early development, you using this package is already accepting that there will be breaking changes until it settles down. There's no reason to go ham just because you can't wait for it to become stable. While i would prefer it used <1 versioning until it's stable, it is what it is.
Yes, I understand that, but i think breaking changes though a secend bit version should be list on the release panel. I did not get any warning for caution updating it. And any breaking change obeys vue2compatable
should at least be discussed with others.
Besides, in my opinion, it's ok for the bugs in new version, as long as the author is active dealing with it, but I think breaking changes without being methoned is not good.
from composition-api.
Related Issues (20)
- Typing component refs HOT 2
- onMounted is called when there is no active component instance to be associated with HOT 7
- Variables created with ref in <templete>,do not automatically expand value HOT 4
- why setup run twice in vue2 HOT 8
- setup function provide a wrong prop type,when use type: Function HOT 3
- not work nice in web component, no error HOT 2
- How to avoid duplicate register composition-api ? HOT 1
- It doesn't work with nuxt 2 HOT 2
- watch 的回调如果发生错误,会一直触发调用 HOT 1
- ComponentRenderProxy类型与Vue不兼容,导致Ts编译报错 HOT 2
- vue2项目, 怎么在option API的基础上, 混用composition API? HOT 1
- render 函数中使用 web components 自定义标签,移除了HTML中原生的 slot 属性 HOT 3
- No support for Vue >= 2.7
- cdn方式引入导致vue devtools调试数据丢失 HOT 2
- 客户端使用vuecli 打包出来的commonjs模式的库,出现“Error: [vue-composition-api] must call Vue.use(VueCompositionAPI) before using any functio” HOT 2
- setup返回的data在development环境下会被expose到全局mixin的data中 HOT 2
- 是否有提供withDefaults?
- 安装时,报vue版本范围错误 HOT 2
- 【Bug】Memory Leak cause by toVue3ComponentInstance HOT 1
- 【BUG】watch() 传入reactive类型的数据,vue3.4与3.3表现不一致 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from composition-api.