![Code Sketched](/img/default-banner.jpg)
- 88
- 509 719
Code Sketched
Registrace 23. 05. 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.
This animation is not as complicated as it looks!
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 - Intro
0:43 - Demo
1:56 - Creating the project from scratch
3:02 - Concept 1: Positioning (sticky & absolute)
5:44 - Concept 2: SVGs with path and motion.path
7:10 - Concept 3: useScroll (Framer motion)
7:51 - Concept 4: useTransform (Framer motion)
9:20 - Summary
If you liked this video, check out my whole React playlist here:
czcams.com/play/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI.html
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 : czcams.com/video/KGQNrzqrGqw/video.html
--------------------------------------------------------------
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 - Intro
0:43 - Demo
1:56 - Creating the project from scratch
3:02 - Concept 1: Positioning (sticky & absolute)
5:44 - Concept 2: SVGs with path and motion.path
7:10 - Concept 3: useScroll (Framer motion)
7:51 - Concept 4: useTransform (Framer motion)
9:20 - Summary
If you liked this video, check out my whole React playlist here:
czcams.com/play/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI.html
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 : czcams.com/video/KGQNrzqrGqw/video.html
--------------------------------------------------------------
zhlédnutí: 1 221
Video
Do you understand the subtle difference between these two React concepts?
zhlédnutí 794Před 7 měsíci
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: czcams.com/play/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI.html If you like hand-drawn illustrations and 2-3 frontend dev resources eve...
React's missing piece: How useEffect hook saves the day!
zhlédnutí 977Před 8 měsíci
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: czcams.com/play/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI.html If you like hand-drawn illustrations and 2-3 frontend dev resources every week for free, t...
Understand the need for context API in React
zhlédnutí 832Před 9 měsíci
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: czcams.com/play/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI.html If you like hand-drawn illustrations and 2-3 frontend dev resources every week for free, then sign up for the FREE CodeSket...
This React hook will help you understand how React works
zhlédnutí 482Před 9 měsíci
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: czcams.com/play/PLTkAV9Hw...
A React.js crash course in under 8 minutes!
zhlédnutí 1,2KPřed 10 měsíci
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: czcams.com/play/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI.html If you like hand-drawn illustrations and 2-3 frontend dev resources every week for free, then sign up for th...
Why React had to create a whole new markup language?
zhlédnutí 2,1KPřed rokem
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: czcams.com/play/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI.html If you like hand-drawn illustrations and 2-3 frontend dev resources every week for free, then sign up for the FREE CodeSketched newslette...
The Magic of React's Reconciliation: Behind the Scenes with a Microsoft Frontend Developer
zhlédnutí 15KPřed rokem
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: czcams.com/play/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI.html If you like hand-drawn illu...
Things you didn't know about re-rendering in React
zhlédnutí 26KPřed rokem
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: czcams.com/play/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI.html If you like hand-drawn illustrations and 2-3 frontend dev resources every week for free...
Understanding this React concept will make you a pro React developer!
zhlédnutí 7KPřed rokem
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: czcams.com/play/PLTkAV9HwDLLDrT32MxxSeBDLWD4okCiVI.html 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.codeske...
What are classes in JavaScript? | CodeSketched
zhlédnutí 269Před rokem
What are classes in JavaScript? | CodeSketched
What is Prototype in JavaScript? | CodeSketched
zhlédnutí 2KPřed rokem
What is Prototype in JavaScript? | CodeSketched
Working with Map and Set in JavaScript | CodeSketched
zhlédnutí 451Před rokem
Working with Map and Set in JavaScript | CodeSketched
Throttling and Debouncing explained with Examples | CodeSketched
zhlédnutí 750Před 2 lety
Throttling and Debouncing explained with Examples | CodeSketched
What exactly is the Event Loop in JavaScript? | CodeSketched
zhlédnutí 4KPřed 2 lety
What exactly is the Event Loop in JavaScript? | CodeSketched
How to create our own Map and Filter method implementations in JavaScript? | CodeSketched
zhlédnutí 629Před 2 lety
How to create our own Map and Filter method implementations in JavaScript? | CodeSketched
Understand blockchain by building one! | CodeSketched
zhlédnutí 538Před 2 lety
Understand blockchain by building one! | CodeSketched
Call, Apply and Bind methods in JavaScript | CodeSketched
zhlédnutí 352Před 2 lety
Call, Apply and Bind methods in JavaScript | CodeSketched
git failed to push some refs to | git push command explained
zhlédnutí 12KPřed 2 lety
git failed to push some refs to | git push command explained
Understanding the 'this' keyword in JavaScript | CodeSketched
zhlédnutí 403Před 2 lety
Understanding the 'this' keyword in JavaScript | CodeSketched
Build your own Blog/Portfolio site with Docusaurus | CodeSketched
zhlédnutí 1,3KPřed 2 lety
Build your own Blog/Portfolio site with Docusaurus | CodeSketched
Inheritance in JavaScript | CodeSketched
zhlédnutí 444Před 2 lety
Inheritance in JavaScript | CodeSketched
Why is there a Strict Mode in JavaScript? | CodeSketched
zhlédnutí 1,2KPřed 2 lety
Why is there a Strict Mode in JavaScript? | CodeSketched
Understanding closures in JavaScript | CodeSketched
zhlédnutí 523Před 2 lety
Understanding closures in JavaScript | CodeSketched
Understanding Scope in JavaScript | CodeSketched
zhlédnutí 805Před 2 lety
Understanding Scope in JavaScript | CodeSketched
The JavaScript operator that you might not be aware of
zhlédnutí 239Před 2 lety
The JavaScript operator that you might not be aware of
The difference between event.target and event.currentTarget in JavaScript | CodeSketched
zhlédnutí 2KPřed 2 lety
The difference between event.target and event.currentTarget in JavaScript | CodeSketched
Why Next.js is the next big thing in web development!
zhlédnutí 421Před 2 lety
Why Next.js is the next big thing in web development!
Why you should learn TypeScript right now | CodeSketched
zhlédnutí 862Před 3 lety
Why you should learn TypeScript right now | CodeSketched
Promisify functions and avoid callback hell | async javascript
zhlédnutí 4,9KPřed 3 lety
Promisify functions and avoid callback hell | async javascript
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.
to avoid that ,async concept we need to use
Wonderful video!
3 reasons re rendering happens - change of state value - change of props value - re rendering of parent/grandparent components (for the impurity (side effect) of a component) Rendering itself is a well optimised method thanks to reconciliation. Moreover- 3rd reason can be avoided by using exporting default React.memo(component);
Thank you sir
Thanks. Core concepts. Very few touch or teach them.
You're welcome :)
This is a GEMMM
you are amazing...
const [count, setCount] = React.useState(0); this line is runned every time when Counter function is called ? every time new variable is created count, setCount and gets the current state and that callback respectively ?
I love your ability to explain simply, you sincerely helped me a lot, sir. Thank you!!
Thanks a lot for the kind works. Glad it helped you.
want a video on react redux
Coming soon :)
Nice Tutorial
So what's the bottom line? That any component that doesn't depend on state OUTSIDE itself (apart from what's passed in through its props) is a candidate to be memeoized (including components that have internal state)?
thanks for videos, and please mute the background music. thanks
Very well explained thx for your video
The most interesting case, where keyed and not keyed children are mixed (and may be even moved around), is not described.
hey your explanation is good but background music is so loud
fuck and wrong information
best explanation
const[a,b,c]=args which is array destructing--------- func1.call(obj1,a,b,c) please let me know if i am righr or wrong
newarr=[4,8,12]
alpha,gamma,beta based on your explanation :)
Well you could get smooth scrolling through lenis or maybe gsap ig I have tried it and works fine
background music is really annoying ...
In forEach , function executes and then returns undefined . Why do we use it then if undefined is returned???
I guess that is what Virtual Dom does. Am I correct?
Background 🎼🎼🎼🎼🎼🎼 score 😅
Thank u that was helpful
thnks
thanks
Bro please bring more videos regarding typescript and react btw your explanation are always lit 💥.
Thank you :) Thinking of doing a short 'getting started with TS series'
@@CodeSketched what vscode theme you're using please? I liked it
Amazing! 🔥
All thanks to you :)
Can you please make video on how redux works?
Yes. That is in the queue. Should I just cover his Redux works or also include a sample project?
@@CodeSketched Just the internals of the redux, like you have explained react rendering process. Simple but in Depth ✨
I have quick question on this so when we say comparison do we really compare with real dom with virtual dom or we compare previous state of real dom..?
Until the DOM updates, there is no previous state. Just one state that the DOM exists in. And that is what the virtual DOM is compared with.
@@CodeSketched So are you saying we always compare virtual dom to real dom ?
isnot the update VDOM compared with the previous VDOM ?
Where can I find the stackoverflow link that was mentioned in the video?
Best! Would love to see more & more videos from you.
Thank you so much! i was searching for this so long time finally found it. Thank you
How to used raycast and carbon for snapshot of code
Do you want to use raycast Mac utility with carbon for code snippet generation?