Redux Middleware Example Tutorial | React Redux Series Part 6

preview_player
Показать описание
What is Redux middleware? Simple Example to explain the concept.

Keywords : Redux for beginners, Redux Simplified, Redux Fundamentals, react with redux, redux thunk , redux saga, redux middlewere

*Code for the project

Full React JS tutorial Series Playlist

Help the channel via patron and buying merchandise

Follow me for technology updates

Help me translate this video.
Рекомендации по теме
Комментарии
Автор

more React folks need to know about this channel!!!

rob_dyy
Автор

Absolutely amazing tutorial. Clear and concise. Next tutorial will be your Redux Saga one. Thank you very much.

paucolome
Автор

What an amazing videos you paid on one of the site, but listening your videos... and stocked here.... Simple explanation on powerful topics....

nanipoluru
Автор

Amazing tutorial! Great help to understand middleware. Thanks a lot!

leannec
Автор

I am so glad I found your channel. IT IS SO HELPFUL!!!

kateasusual
Автор

Best stuff in the world is free, this is one of them. Thanks, techshit (Y)

youmevinod
Автор

Other tutorials: How to do it...Techsith : How to do it + why you doing it ?

gopip
Автор

Very good, friend. But I watched 3-5 tutorials about redux middleware, but nowhere is said that the "next" param of function is really "dispatch" method of the store, and the "action" param is the same dispatched action.

hmarat
Автор

hi I am new to react so forgive if i asked something stupid here. In logAction(), from where do you got 'next' . Is it inbuilt ?

vinod_chauhan
Автор

please share some more topics about an React - Redux

prabakaranm
Автор

i didnt understand the logAction part clearly, can you please explain it in detail

rehaan
Автор

so next(action) evaluates to the action object {type:... payload:....}. What is sitting in the variable action? If we were to console.log(action), what would that evaluate to? and when we call next(action) - is it then just going back to line 11?

DarkSideChess
Автор

i hope you can guide how to call api and manage side effect with redux-saga

letoan
Автор

Sir which extension you have added specially this arrow, it looks very decent .

jenasusil
Автор

Can you please elaborate on the below? Why do we need to return next, action, next (action). Could not understand. Is the next() recursive here?

const logAction = store => {
return next => {
return action => {
const result = next(action);
console.log(
`caught in the middleware
);
return result;
};
};
};

GaneshKumar-fvcg
Автор

Hi, Which visual code plugins you are using?

MasPensador
Автор

You can use this plugin redux-devtools-extension and fire in tis way:

const composeEnhancers = process.env.NODE_ENV === 'development' ? : null || compose;
const store = createStore(reducer, composeEnhancers(applyMiddleware(logAction, thunk)));

grzegorzt
Автор

Your videos are awesome, But inside logAction() function you used two return statement. Can you explain what those two are doing.?
Also whats the difference between { () => this.someFunction() }
and
{this.someFunction}

ankitbaid
Автор

Can anyone explain me how the return statement works between the line no 10 to 18
I am from java background

Dark
Автор

With all due respect, your logo is a little bit scary with your background music. I mean, the logo itself is scary enough, and with the BGM, the combination of the two is even scarier.

youshinechannel