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

Add namespace option to split reducers #3

Merged
merged 8 commits into from
Mar 31, 2018
Merged

Conversation

airtoxin
Copy link
Owner

namespace is used for "which reducer was invoked by this action?"


### export createCirquitAction<State>(reducer: State => State, name?: string): Redux.Action
### export createCirquitAction\<State\>(reducer: (state: State) => State, options?: { name?: string, namespace?: string }): Redux.Action
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

memo: Type of 2nd argument was changed. This is a breaking change.

@airtoxin airtoxin merged commit 7f650c7 into master Mar 31, 2018
@airtoxin airtoxin deleted the feature/reducer-namespace branch March 31, 2018 21:01
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

Successfully merging this pull request may close these issues.

1 participant