1.1.1 • Published 2 years ago
redux-middleware-mini-collection v1.1.1
mini-redux-middleware
Introduction
mini-redux-middleware is a lightweight collection of essential middlewares for Redux applications, designed to simplify the integration of basic middleware functionalities such as action logging and handling asynchronous actions.
Installation
To install the library, run the following command in your project directory:
npm install mini-redux-middlewareUsage
To use the mini-redux-middleware in your Redux application, you can follow the steps below:
- Import the
configureStorefunction from the library:
import configureStore from 'mini-redux-middleware';- Use the
configureStorefunction to create your Redux store:
const store = configureStore();This store will be configured with the essential middlewares including a logger and thunk middleware.
Contributing
Contributions to mini-redux-middleware are welcome! To contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or fix.
- Commit your changes with descriptive commit messages.
- Push your branch and submit a pull request.
We appreciate your contributions to make mini-redux-middleware even better!
License
This project is licensed under the MIT License - see the LICENSE file for details.