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

Refactoring: split up "Reducers" page #56

Open
markerikson opened this issue Oct 1, 2017 · 0 comments
Open

Refactoring: split up "Reducers" page #56

markerikson opened this issue Oct 1, 2017 · 0 comments

Comments

@markerikson
Copy link
Owner

The "Reducers" page has grown too large. I want to split it up, and also organize the existing content better.

Rough ideas:

  • The "Reducer Utilities" category needs to be split into multiple categories. At a minimum, I would like categories for:
    • alternatives to the built-in combineReducers utility (such as the combineSectionReducers, combined-reduction, and topologically-combine-reducers)
    • Lookup table utilities (anything that's equivalent to the createReducer function in the "Reducing Boilerplate" page of the Redux docs)
    • Sequential composition (like reduce-reducers)
  • Anything to do with dynamic reducer injection probably ought to go into a new page. I'm thinking a "Store - Code Splitting" page, similar to the existing "Store - Persistence" page. There may be some related libs scattered elsewhere throughout the list that ought to go into the "Code Splitting" page too.
  • The "State Machines" section should probably go into a new "Reducers - Prebuilt Use Cases" page. (Or, then again, maybe it should be "Prebuilt Use Cases - Reducers"? Ditto for libs like redux-data-strucures - stuff that is more than just "combining" reducers in some way, but rather providing functionality out of the box.
  • Might be good to extract a "Functional Composition" category, and put libs like redux-xforms, horux, and dextrous in there.

So, I've got ideas here, but I'm less sure of exactly what I want the final result to be. I know that people have said this page is intimidating and confusing, so I'm hoping to make it more useful.

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

1 participant