Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the API good enough? #1

Open
slorber opened this issue Jan 30, 2016 · 2 comments
Open

Is the API good enough? #1

slorber opened this issue Jan 30, 2016 · 2 comments

Comments

@slorber
Copy link
Owner

slorber commented Jan 30, 2016

No description provided.

@yelouafi
Copy link

yelouafi commented Feb 1, 2016

considering the example in README

const secondReducer = createReducer({ firstReducer },
  function (state = 0,action,{ firstReducer }) {
    return firstReducer + 1
  }
)

secondReducer doesn't react to any action, neither it needs any state; all it does is deriving some data from another; It appears more a selector than a reducer

@slorber
Copy link
Owner Author

slorber commented Feb 1, 2016

yes maybe it's not the best example but I don't have any concrete usecase I'd like to solve :) (see reduxjs/redux#1315 (comment))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants