Build Your Own Redux | Part 2 | CreateStore API | Advanced JavaScript | Devtools Tech

Veröffentlicht am: 02 März 2021
auf dem Kanal: Devtools Tech
2,274
74

Build Your Own Redux is a series where we going to look at the inner workings of famous state management library called "Redux". We are going to look at how it behaves, what all APIs it offers, and how can we re-implement those in our code. By the end of this series, we would have somewhat similar library to Redux. Aim is not to copy redux exactly but rather understand what happens under the hood.

In this part, we are going to walkthrough and understand Redux's CreateStore API, we will understand its behaviour, input, output, methods it exposes, and then we will re-implement it in our code.

0:00 Introduction & Redux Behaviour
04:32 CreateSore Blueprint
07:06 getState Implementation
07:53 subscribe Implementation
11:04 Cleanup & Validations
12:40 dispatch Implementation
17:43 Validations
22:13 Adding dispatch Checks
29:45 Dispatch Init Action
33:27 Outro

Code Repo: https://github.com/Devtools-Tech-Team...

https://devtools.tech/?ref=dtyt

You can support our channel via:

https://rzp.io/l/support-devtools-tech
https://www.buymeacoffee.com/yomeshgupta

**************************************************************
Devtools Tech is a YouTube channel which was started as a collaborative effort among like-minded engineers to provide high quality programming tutorials for free. We firmly believe in knowledge sharing and easy access to quality content for everyone. Hence, this channel is an effort to give back to the community and a step towards our belief -- "We rise by lifting others".

Interview questions: https://code.devtools.tech/questions/...
Interview resources: https://code.devtools.tech/resources/...

Team Members:
Yomesh Gupta
Portfolio: https://yomeshgupta.com
LinkedIn:   / yomeshgupta  
Twitter:   / yomeshgupta  

Saloni Kathuria
LinkedIn:   / salonikathuria  
Twitter:   / saloni_kathuria  
Medium:   / kathuria.saloni2  

Puneet Ahuja
Portfolio: https://puneetahuja.in/
LinkedIn:   / devpuneetahuja  
Twitter:   / punsahuja  

#redux #react #advancedjs #interviews #yomeshgupta **************************************************************


Auf dieser Seite können Sie das Online-Video Build Your Own Redux | Part 2 | CreateStore API | Advanced JavaScript | Devtools Tech mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Devtools Tech 02 März 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,274 Mal angesehen und es wurde von 74 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!