Git Product home page Git Product logo

Comments (8)

yangmillstheory avatar yangmillstheory commented on August 16, 2024 2

I've been using this feature at work via a fork of this project and it's turned out great for DRY'ing up our reducers (especially when using reducer composition). I'll see if I can contribute this feature back to the repository.

As mentioned above though, I don't see a cleaner path to doing this than the combineActions approach.

from redux-actions.

dvdzkwsk avatar dvdzkwsk commented on August 16, 2024

πŸ‘ I like this a lot, and it's something that has kept me from fully adopting a createReducer/handleActions abstraction in my applications.

I know this issue is fairly dead, but there is interest :)

from redux-actions.

bradwheel avatar bradwheel commented on August 16, 2024

πŸ‘ Here's some additional interest

from redux-actions.

mwalsher avatar mwalsher commented on August 16, 2024

πŸ‘

from redux-actions.

obrin avatar obrin commented on August 16, 2024

πŸ‘

from redux-actions.

weslleyaraujo avatar weslleyaraujo commented on August 16, 2024

thats very very useful πŸ‘

@lukewestby is there any wip on this?
if not so, can I start working on it?

from redux-actions.

yangmillstheory avatar yangmillstheory commented on August 16, 2024

πŸ‘

I'd love to have this feature too. Should someone just submit a PR for this?

from redux-actions.

yangmillstheory avatar yangmillstheory commented on August 16, 2024

I was thinking that a conventional delimiter like | could work, but there's no obvious way for library users to join action creators (which can be used as inputs to handleActions or handleAction) since the way an action creator stores its type (via toString) seems encapsulated from the library user.

So, I think the combineActions approach seems the most reasonable.

from redux-actions.

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.