You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A redux middleware to handle loading states triggered through start and stop actions.
7
7
8
8
## Why would I need this?
9
-
Ever wanted a loading indicator while you are fetching a large amount of data. Ever wanted to block a submit button from being clicked again after you have submitted a form. Then this is the solution for you. Instead of going through the hassle of maintaining loading states for your buttons and containers, `redux-loader` does it for you.
9
+
Ever wanted a loading indicator while you are fetching a large amount of data. Ever wanted to block a submit button from being clicked again after you have submitted a form. Then this is the solution for you. Instead of going through the hassle of maintaining loading states for your buttons and containers, `redux-state-loader` does it for you.
10
10
11
11
## Getting started
12
-
The first step is to add `redux-loader` into your project.
12
+
The first step is to add `redux-state-loader` into your project.
13
13
14
14
```
15
-
npm install --save nishanbajracharya/redux-loader
15
+
npm install --save redux-state-loader
16
16
```
17
17
18
18
> Note: The package itself has no dependencies but would be useless without [Redux](https://redux.js.org/).
@@ -22,7 +22,7 @@ The next step is to register the middleware in the redux store.
0 commit comments