Skip to content

Proposal: split redux-react into a separate package #230

Closed
@gaearon

Description

@gaearon

I'm not a fan of over-splitting.

However we already export React-specific parts separately (redux/react and redux/react-native). React also embraces some splitting in React 0.14 (react and react-dom). It's becoming harder to buy the argument that people mind splitting so much.

I've heard complaints that people don't understand what is “core” to Redux and what is not because of Provider and Connector baked into Redux. I've also heard people want to use Redux with Ember, Angular 2 and Deku. There is a work in progress on an Angular 2 example project.

Things like Provider and Connector are React-specific and there also may be better ways to write them. It's harder to focus on developing them (and maybe bringing in additional functionality) when they're right inside the core. At this point there's so little API that binds them together (basically { getState, dispatch, subscribe } is their only common point) that I think splitting might bring more benefits than inertia and/or management overhead.

Here's my proposal:

  • Move Redux to reduxjs org
  • Create “blessed” redux-react and redux-react-native
  • When React 0.14 is released, we'll be able to drop redux-react-native altogether

We'll also see if there is interest in “blessed” Angular/Ember bindings, and people willing to maintain them.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions