- Видео 89
- Просмотров 580 274
Code Sketched
Добавлен 23 май 2017
Coding tutorials for visual learners!
I am Kapeel, a frontend dev @Microsoft. I create these videos for anyone getting started with frontend development 🙌🏾 Hoping that my experience in the industry helps someone starting out. I make my best attempt to make the videos interesting and non-boring! Please share the channel with others if you liked my content style.
Me: www.kapeelkokane.com/
Website: www.codesketched.com/
Newsletter: codesketched.substack.com/
All views are my own.
I am Kapeel, a frontend dev @Microsoft. I create these videos for anyone getting started with frontend development 🙌🏾 Hoping that my experience in the industry helps someone starting out. I make my best attempt to make the videos interesting and non-boring! Please share the channel with others if you liked my content style.
Me: www.kapeelkokane.com/
Website: www.codesketched.com/
Newsletter: codesketched.substack.com/
All views are my own.
Why do we even need something like Redux with React? State management 101
In this video we look into the need for a state management solution like Redux with React in 2024.
If you liked this video, check out my whole React playlist here:
ruclips.net/p/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI
If you like hand-drawn illustrations and 2-3 frontend dev resources every week for free, then sign up for the FREE CodeSketched newsletter:
codesketched.substack.com/
Codesketched site:
www.codesketched.com/
More info about me:
www.kapeelkokane.com/
Background music used in this video 👇🏾
--------------------------------------------------------------
♪ Onion (Prod. by Lukrembo)
Link : ruclips.net/video/IX281u8ZIPE/видео.html
--------------------------------------------------------------
If you liked this video, check out my whole React playlist here:
ruclips.net/p/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI
If you like hand-drawn illustrations and 2-3 frontend dev resources every week for free, then sign up for the FREE CodeSketched newsletter:
codesketched.substack.com/
Codesketched site:
www.codesketched.com/
More info about me:
www.kapeelkokane.com/
Background music used in this video 👇🏾
--------------------------------------------------------------
♪ Onion (Prod. by Lukrembo)
Link : ruclips.net/video/IX281u8ZIPE/видео.html
--------------------------------------------------------------
Просмотров: 2 984
Видео
This animation is not as complicated as it looks!
Просмотров 1,5 тыс.11 месяцев назад
In this video, we dig into a component from the Aceternity UI page that replicates the effect on this animation on the Google gemini page. We recreate this using Next.js, Tailwind and Framer motion. Here'e the link to the GitHub repo: github.com/kokanek/framer-animations Here's the link to the Aceternity UI page: ui.aceternity.com/components/google-gemini-effect Chapters in this video: 0:00 - I...
Do you understand the subtle difference between these two React concepts?
Просмотров 1,6 тыс.Год назад
In this video, we delve into the useMemo React hook after getting to know the code hooks in the previous videos. We also explore React.memo() and learn how it works in conjunction with the useMemo() hook. If you liked this video, check out my whole React playlist here: ruclips.net/p/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI If you like hand-drawn illustrations and 2-3 frontend dev resources every week...
React's missing piece: How useEffect hook saves the day!
Просмотров 1,7 тыс.Год назад
In this video, we will look into the need for the useEffect hook. Understanding how React creates a problem (due to the way it is designed) and how it then goes on to solve the problem. If you liked this video, check out my whole React playlist here: ruclips.net/p/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI If you like hand-drawn illustrations and 2-3 frontend dev resources every week for free, then sig...
Understand the need for context API in React
Просмотров 1,5 тыс.Год назад
In this video, we look into the useContext() API that React provides us and see how it compares to the useState API. Check out our other popular videos: If you liked this video, check out my whole React playlist here: ruclips.net/p/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI If you like hand-drawn illustrations and 2-3 frontend dev resources every week for free, then sign up for the FREE CodeSketched ne...
This React hook will help you understand how React works
Просмотров 632Год назад
In this video, we look into the useState() hook in React that lets us manage and work with state. We look at the differences between directly modifying the state versus using the API that React provides us. Join the CodeSketched newsletter to get stuff like this in your inbox 👇🏾 codesketched.substack.com/ If you liked this video, check out my whole React playlist here: ruclips.net/p/PLTkAV9HwDL...
A React.js crash course in under 8 minutes!
Просмотров 2 тыс.Год назад
This video will teach you about the React.js library if you are a beginner getting started with it or even an intermediate developer who has decent experience with it. If you liked this video, check out my whole React playlist here: ruclips.net/p/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI If you like hand-drawn illustrations and 2-3 frontend dev resources every week for free, then sign up for the FREE ...
Why React had to create a whole new markup language?
Просмотров 3,5 тыс.Год назад
In this video, we take a look into how React created a brand new paradigm with JSX and how that ushered a new age of frontend development. If you liked this video, check out my whole React playlist here: ruclips.net/p/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI If you like hand-drawn illustrations and 2-3 frontend dev resources every week for free, then sign up for the FREE CodeSketched newsletter: code...
The Magic of React's Reconciliation: Behind the Scenes with a Microsoft Frontend Developer
Просмотров 25 тыс.Год назад
In this video, we look into the famous reconciliation algorithm that separates React from the rest of the frameworks. Here are the references used for the video: legacy.reactjs.org/docs/faq-internals.html legacy.reactjs.org/docs/reconciliation.html If you liked this video, check out my whole React playlist here: ruclips.net/p/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI If you like hand-drawn illustratio...
Things you didn't know about re-rendering in React
Просмотров 43 тыс.Год назад
In this video, we will look into when a React component actually re-renders. Here's the aticle by Josh Comeau that goes more deep into this: www.joshwcomeau.com/react/why-react-re-renders/ If you liked this video, check out my whole React playlist here: ruclips.net/p/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI If you like hand-drawn illustrations and 2-3 frontend dev resources every week for free, then ...
Understanding this React concept will make you a pro React developer!
Просмотров 30 тыс.Год назад
In this video, we understand what the term "rendering" actually mean in React. If you liked this video, check out my whole React playlist here: ruclips.net/p/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI If you like hand-drawn illustrations and 2-3 frontend dev resources every week for free, then sign up for the FREE CodeSketched newsletter: codesketched.substack.com/ Codesketched site: www.codesketched.c...
What are classes in JavaScript? | CodeSketched
Просмотров 3252 года назад
What are classes in JavaScript? | CodeSketched
What is Prototype in JavaScript? | CodeSketched
Просмотров 4,2 тыс.2 года назад
What is Prototype in JavaScript? | CodeSketched
Working with Map and Set in JavaScript | CodeSketched
Просмотров 5342 года назад
Working with Map and Set in JavaScript | CodeSketched
Throttling and Debouncing explained with Examples | CodeSketched
Просмотров 1,1 тыс.2 года назад
Throttling and Debouncing explained with Examples | CodeSketched
What exactly is the Event Loop in JavaScript? | CodeSketched
Просмотров 4,6 тыс.2 года назад
What exactly is the Event Loop in JavaScript? | CodeSketched
How to create our own Map and Filter method implementations in JavaScript? | CodeSketched
Просмотров 7062 года назад
How to create our own Map and Filter method implementations in JavaScript? | CodeSketched
Understand blockchain by building one! | CodeSketched
Просмотров 5552 года назад
Understand blockchain by building one! | CodeSketched
Call, Apply and Bind methods in JavaScript | CodeSketched
Просмотров 4052 года назад
Call, Apply and Bind methods in JavaScript | CodeSketched
git failed to push some refs to | git push command explained
Просмотров 12 тыс.2 года назад
git failed to push some refs to | git push command explained
Understanding the 'this' keyword in JavaScript | CodeSketched
Просмотров 4362 года назад
Understanding the 'this' keyword in JavaScript | CodeSketched
Build your own Blog/Portfolio site with Docusaurus | CodeSketched
Просмотров 1,7 тыс.2 года назад
Build your own Blog/Portfolio site with Docusaurus | CodeSketched
Inheritance in JavaScript | CodeSketched
Просмотров 5292 года назад
Inheritance in JavaScript | CodeSketched
Why is there a Strict Mode in JavaScript? | CodeSketched
Просмотров 1,3 тыс.2 года назад
Why is there a Strict Mode in JavaScript? | CodeSketched
Understanding closures in JavaScript | CodeSketched
Просмотров 5712 года назад
Understanding closures in JavaScript | CodeSketched
Understanding Scope in JavaScript | CodeSketched
Просмотров 8863 года назад
Understanding Scope in JavaScript | CodeSketched
The JavaScript operator that you might not be aware of
Просмотров 2613 года назад
The JavaScript operator that you might not be aware of
The difference between event.target and event.currentTarget in JavaScript | CodeSketched
Просмотров 2,8 тыс.3 года назад
The difference between event.target and event.currentTarget in JavaScript | CodeSketched
Why Next.js is the next big thing in web development!
Просмотров 4473 года назад
Why Next.js is the next big thing in web development!
Why you should learn TypeScript right now | CodeSketched
Просмотров 9383 года назад
Why you should learn TypeScript right now | CodeSketched
Fuck this is awesome, saved me so many hours, thanks man
Wow, amazing!👽🖖
great brother...
your real voice is much more better than this
I can't understand your accent.
Answer to the question.....so basically we are passing the filtered array as the prop to the List Renderer. Because the return type of the expensive function is array (which is passed by reference) whenever on each render the expensiveFunction() is recalculates it creates new array that has different memory address from the original one so since the reference is changed so is the props change even though the new array is exactly same in the value the reference is different. If it were some primitive type like number/boolean etc, the child would not have been re-rendered. We can prevent this unncessary re-render by wrapping the expensive function in useMemo() hook.
not understood anything.
Awesome explaination. Please create react coursee and Typescript courses
Please do that in your real voice
createElement returns a plain JavaScript object, not a JSON object
I take 0s when you say that smash thumbs up button because I learn from this little pretty video ❤❤❤
Great content, but would've preferred your own voice instead.
In my today's interview, Interviewer gave me same scenario question and asked if child component will re-render or not.
Make video on redux
I already have one. Please check channel page.
What does this have to do with a merkle root? Is a merkle root even necessary to create a genesis block?
thanks
Bro, I have one question, currently I am working on react project, in that suppose there are different pages, homepage, aboutPage, contact page, the routes are like Homepage-->Aboutpage, when I goback to Homepage from Aboutpage it re-renders entire Homepage, the child component inside Homepage handles multiple fetch/api request, since Homepage gets re-renders it again call the api, is there any way to prevent component from unmounting? (something like Keepalive from vue.js)
I found GOLD 🔥🔥
We can do this with useContext also right? What's the advantage of redux?
If you write something to the context from a component, only the components below it have access to that, not the ones above it.
@@CodeSketchedthe same applies to Redux. I don’t see your point.
Why should we use redux when we have context hook which is built into react and serves the same purpose.
It's difficult to write to the context from child components. Even if you do, the parents don't have access to it
@@CodeSketched Can you make a video regarding the differences between the two for better understanding?
Good Explanation. Would love more react vids
Which topics do you want me to cover?
It's bad that you used generated voice than your real one
Just a matter of convience. Is there any specific issue with it?
@@CodeSketched It's fast for me and when i did 0.75x then it gives pure Robotic vibe and another thing with 1x it doesn't give that teaching vibe, it's bit hard for me to explain what i feel with robotic voice but when it's real voice behind it gives human brain to human brain knowledge supply, it isn't case with robotic voice.
@@CodeSketched Nothing wrong with AI voices, imo. You just need to find a more human-sounding AI voice.
Got it. Thanks for the feedback.
@@CodeSketched your real voice is much more better than this
Finally 😄
Hope it was worth the wait :)
@@CodeSketched ya it is worth it please bring more
Propes are nothing just argument to function components
Please share the stackoverflow link that you mentioned in the video. Thanks!
Dont speak fast
Watch at 0.75 speed. Don't complain.
you are a gem
Fucki*n awesome
explained very well bro. after long hour's of search i find out a good explanation🌟🌟🌟🌟
explained so easily such a complex looking problem!!
yes, bragging rights😆
thank you, you've cleared this, it was bothering me for so long❤
can you please make a video on how webpack works.. where does this huge json lies? At the end index.html refers bundled js file and that will be converted into DOM right?
JSX stands for Javascript XML
U have any for explanation of code(visually appealing text for a post)
Amazinggg explanation man
lets say i have a const currentTime = new Date() below the count state and i try to render it <p>Current Time: {currentTime.toLocaleTimeString()}</p> in place of testcomponent ... then when i click the increament button the date also updates and shows the current date and time at the moment the button is clicked ..now you said that it wont happen because of virtual dom and it only renders the elements that is being updated but here this is no the case.. Can you explain why???
He said it won't happen because if the virtual dom doesn't change, it doesn't send any change to the dom, but in your case, the virtual dom changed because "currentTime.toLocaleTimeString()" returned a different value.
Please don’t stop posting videos. You’re gem dude
The animated character you are using doesn't look good at all and that weird mouth movement doesn't help as well. I suggest don't use it at all or find a better alternative .... It's just a suggestion from me.
Great Explanation !
That's a hella good explination man.
Thanks :)
Thank you so much sir!! You are hidden en gem🙏💖
Amazing explanation
Thank you :)
Teaching is a talent that not everyone have. Teaching good is even more rare and you absolutely have this talent. I really appreciate your approach and I wish you will provide more content for more concepts (e.g. ssr, caching, rehydration, etc). Other content idea is teaching libraries such as the Tanstack products (router, table, qusry). Anyway, thanks a lot and good luck!
Thanks a lot for the kind words. :)
Awesome. Thank you..
array.reduce(reducefn, 0) The second arg. should be 0, only if the acc of reducefn will be 0. Else, acc will be the first element of an array.
Yes pls a deep dive video is needed
Can you also add a video explaining the DOM, shadowDOM, and redux. Also how does the state gets passed to backend to store it in database.
React.memo(List) component takes a prop List and when parent function Component re-render, it will rerun the function and it will rerun the expensive function coz it's not under useeffect. after the recompute it will get pass into list component and list component will take a updated props and hence trigger render. In this case useMemo will wrap the expensive function and watch if items and filter prop is receiving the update from it's parent or not.