@zealforchange/conciseredux
TypeScript icon, indicating that this package has built-in type declarations

2.0.2 • Public • Published

@zealforchange/conciseredux

Install

npm i @zealforchange/conciseredux

or

yarn add @zealforchange/conciseredux

Cause

  • A reducer requires too much boilerplate code

  • Need to create too many template-style folders

-There are too many if else switch in common reducer, which is ugly and not semantic enough

  • I don't want to learn redux toolkit, just want to learn redux and react-redux

Solved what?

  • reducer is actionHandler and dispatchHandler (createReducer API])

  • reduce unnecessary updates inside redux

中文

createReducer API With Redux

createReducer API With React

tool

Package Sidebar

Install

npm i @zealforchange/conciseredux

Weekly Downloads

2

Version

2.0.2

License

ISC

Unpacked Size

2.96 MB

Total Files

39

Last publish

Collaborators

  • hooks_28