In this post we will make custom middleware which will log action dispatched and updated state to console. Below is code for custom middleware named logger
Now we will add this custom middleware to redux store.
Hope you like the post.Keep learning..
Here you will find some amazing blogs on technologies like React , Mongodb , Nodejs , Golang , Redux,Javascript ,Postgresql
In this post we will make custom middleware which will log action dispatched and updated state to console. Below is code for custom middleware named logger
Now we will add this custom middleware to redux store.
Hope you like the post.Keep learning..
Comments
Post a Comment