Giter Club home page Giter Club logo

Comments (8)

raycohen avatar raycohen commented on July 20, 2024

that's a breaking change, so we'd either need a version bump or to make it opt-in. I'm inclined to go opt-in. Open to a PR that accomplishes that

from ember-radio-button.

miguelcobain avatar miguelcobain commented on July 20, 2024

@fsmanuel @raycohen, I think it is time to go full ddau.

Anyone can still keep current behavior using:

{{radio-button
    value="green"
    changed=(action (mut color)) }}

from ember-radio-button.

tute avatar tute commented on July 20, 2024

that's a breaking change, so we'd either need a version bump or to make it opt-in. I'm inclined to go opt-in. Open to a PR that accomplishes that

I think a breaking change and major version bump would make sense, in line with Ember guidelines and road ahead. It would be in line with the convention of the ember frameworks to share (major) version numbers, too.

If it were opt-in, where would you expect to see the configuration? How would you name it?

Thank you, @raycohen!

from ember-radio-button.

raycohen avatar raycohen commented on July 20, 2024

I think bumping the major version to 2 and making DDAU the default behavior is probably the right path at this point. I am wondering if we can also increase the required ember version to take advantage of some of the newer features and perhaps introduce a radio-group component

from ember-radio-button.

lukemelia avatar lukemelia commented on July 20, 2024

+1 to @raycohen's proposal

from ember-radio-button.

raycohen avatar raycohen commented on July 20, 2024

feedback on this PR to move towards data-down actions-up is welcome #32

to understand the concerns raised in the PR description, I recommend playing around with the dummy app.

from ember-radio-button.

raycohen avatar raycohen commented on July 20, 2024

I'm inclined to say that like input helpers the DDAU pattern doesn't fit here because it can result in the DOM being out of sync with what your application logic believes is the current value.

from ember-radio-button.

Artmann avatar Artmann commented on July 20, 2024

I've added #66 which solves this issue

from ember-radio-button.

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.