Рет қаралды 265
Part-1 talks about higher order functions in Javascript and mental models of frequently used Higher order functions like map( ) of Array and connect( ) of Redux.
6:33 - connect( ) of redux
Remember that actual implementation of connect( ) would be a bit complex but this one gives a construct to think in that direction.
In Part-2, I will talk about how memory allocation, scope and closures work in higher order functions.
Gist link for connect( ) mental model : gist.github.com/singh-sourav/...
Connect with me here :
LinkedIn : / sourav-singh-6b57b5101
From,
Sourav Singh
SDE at Disney+ Hotsar | Ex-Swiggy
Former Mentor at Alien Brains Educations