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.
To install the library, run the following command in your project directory:
npm install mini-redux-middleware
To use the mini-redux-middleware
in your Redux application, you can follow the steps below:
- Import the
configureStore
function from the library:
import configureStore from 'mini-redux-middleware';
- Use the
configureStore
function to create your Redux store:
const store = configureStore();
This store will be configured with the essential middlewares including a logger and thunk middleware.
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!
This project is licensed under the MIT License - see the LICENSE file for details.