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

Remove thunk middleware from the core #256

Merged
merged 1 commit into from
Jul 12, 2015

Conversation

gaearon
Copy link
Contributor

@gaearon gaearon commented Jul 12, 2015

We're moving it into a separate project because:

  • It's strange to export it as a top level export here.
  • Asking people to reach into the internals is not an option either.
  • Having it as a default middleware when you still have to call applyMiddleware manually doesn't make much sense.

gaearon added a commit that referenced this pull request Jul 12, 2015
Remove thunk middleware from the core
@gaearon gaearon merged commit 60b2119 into breaking-changes-1.0 Jul 12, 2015
@gaearon gaearon deleted the remove-thunk-middleware branch July 12, 2015 23:09
@@ -4,7 +4,15 @@ import { createStore, applyMiddleware } from 'redux';
import { Provider } from 'react-redux';
import * as reducers from '../reducers';

const createStoreWithMiddleware = applyMiddleware()(createStore);
// TODO: move into a separate project
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@acdlite Would you like to create a project for it?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes I will, when I get home in a bit

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.

2 participants