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

Published: 02 March 2021
on channel: 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 **************************************************************


On this page of the site you can watch the video online Build Your Own Redux | Part 2 | CreateStore API | Advanced JavaScript | Devtools Tech with a duration of hours minute second in good quality, which was uploaded by the user Devtools Tech 02 March 2021, share the link with friends and acquaintances, this video has already been watched 2,274 times on youtube and it was liked by 74 viewers. Enjoy your viewing!