Using redux with Wechaty wraps Wechaty with Redux Actions & Reducers for Easy State Management.
Image Source: Managing your React state with Redux
Redux is used for application state management and offers the following benefits:
- Make the state predictable
- Easier to trace which action causes any change
- Make it easier to test, maintain and debug the code
Vanilla Redux means using plain Redux without any additional libraries like Ducks.
The tutorial for Vannila Redux with Wechaty Redux Plugin is available here.
🦆🦆🦆Ducks is a Reducer Bundles Manager that implements the Redux Ducks Modular Proposal with great convenience.
Ducks offers a method of handling redux module packaging, installing, and running with your Redux store with middleware support.
The tutorial for Ducks Proposal Style for Wechaty Redux Plugin is available here.