Giter Club home page Giter Club logo

Comments (9)

liximomo avatar liximomo commented on April 28, 2024 2

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.

posva avatar posva commented on April 28, 2024

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.

Mister-Hope avatar Mister-Hope commented on April 28, 2024

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.

Mister-Hope avatar Mister-Hope commented on April 28, 2024

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.

pangao66 avatar pangao66 commented on April 28, 2024

同样遇到这个问题,升级之后用ts发现 createComponent里面 只能写setup, 组件的其他属性,name,componets之类的都会报ts类型错误,这跟vue3目前公布的rfcs是违背的

from composition-api.

beeplin avatar beeplin commented on April 28, 2024

@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.

Mister-Hope avatar Mister-Hope commented on April 28, 2024

Beta release will be fine. And I think the types file should be improved.

from composition-api.

donnysim avatar donnysim commented on April 28, 2024

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.

Mister-Hope avatar Mister-Hope commented on April 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.