@acemarke/redux-starter-kit

  • A simple set of tools to make using Redux easier – – The package is intended to help address three common complaints about Redux: – – We can’t solve every use case, but in the spirit of and , we can try to provide some tools that abstract over the…
  • Takes a single configuration object parameter, with the following options: – – A utility function to create reducers that handle specific action types, similar to the example function in the “Reducing Boilerplate” Redux docs page.
  • Takes an initial state value and an object that maps action types to case reducer functions.
  • Internally, it uses the library, so you can write code in your case reducers that mutates the existing value, and it will correctly generate immutably-updated state values instead.
  • It also accepts an object of customization options for more specific use cases.

A simple set of tools to make using Redux easier

A simple set of tools to make using Redux easier

The package is intended to help address three common complaints about Redux:

We can’t solve every use case, but in the spirit of and , we can try to provide some tools that abstract over the setup process and handle the most common use cases, as well as include some useful utilities that will let the user simplify their application code.

This package is not intended to solve every possible complaint about Redux, and is deliberately limited in scope. It does not address concepts like “reusable encapsulated Redux modules”, data fetching, folder or file structures, managing entity relationships in the store, and so on.

A friendlier abstraction over the standard Redux function. Takes a single configuration object parameter, with the following options:

A utility function to create reducers that handle specific action types, similar to the example function in the “Reducing Boilerplate” Redux docs page. Takes an initial state value and an object that maps action types to case reducer functions. Internally, it uses the library, so you can write code in your case reducers that mutates the existing value, and it will correctly generate immutably-updated state values instead.

The utility from the library, re-exported for ease of use. It acts as a superset of the standard function from Reselect….

@acemarke/redux-starter-kit