Every React Concept Explained in 12 Minutes

  Рет қаралды 272,858

Code Bootcamp

Code Bootcamp

Күн бұрын

My React course: reactbootcamp.dev
Chapters
0:00 - Intro
0:11 - Components
0:29 - JSX
1:02 - Curly Braces
1:29 - Fragments
1:49 - Props
2:20 - Children
2:54 - Keys
3:27 - Rendering
4:34 - Event Handling
5:05 - State
5:54 - Controlled Components
6:31 - Hooks
7:21 - Purity
8:03 - Strict Mode
8:22 - Effects
9:03 - Refs
9:30 - Context
10:10 - Portals
10:41 - Suspense
11:06 - Error Boundaries
11:35 - Learn More

Пікірлер: 246
@AmineChM21
@AmineChM21 Ай бұрын
"class" to "className" isn't to make it camelCase as "class" is already camelCase. It's to avoid conflict with the JS keyword "class" for creating classes.
@eslamsami4986
@eslamsami4986 Ай бұрын
That's actually right
@seannewell397
@seannewell397 Ай бұрын
_solidjs enters the chat_
@szyszak
@szyszak Ай бұрын
You can't decalre a class inside JSX though. You can also use this seemingly reserved keyword between JSX tags, like class. React team can update their JSX parser to allow using the "class" and "for" attributes, but I guess it isn't really a pressing matter.
@nivethan_me
@nivethan_me Ай бұрын
@@szyszak when you write class you're telling put the string "class" inside a tag. when you want to escape into javascript world you need to use the brackets { } so try writing { class } now you'll get an error since class is a reserved keyword in javascript and React is just Javascript end of the day.
@bobwilkinsonguitar6142
@bobwilkinsonguitar6142 Ай бұрын
​@@nivethan_me when you write className in JSX, you're doing it inside , which also should tell the parser you're not using the class keyword. It's an arbitrary change
@wass3411
@wass3411 9 күн бұрын
Software Engineer using React daily for 6 years now and this is hands down the cleanest explanations of those concepts I ever saw. Sharing this everywhere.
@anil4real_
@anil4real_ Ай бұрын
This is the most cleanest and concise explanation of react concepts ever
@suyogmahangade8434
@suyogmahangade8434 Ай бұрын
Best video ever to brush up most of the react concepts 😊
@gustavo-santos-dev
@gustavo-santos-dev 24 күн бұрын
Awesome content, as a backend engineer that is starting dealing with React, this is pretty straightforward and saved me a lot of time.
@Chillycloth
@Chillycloth Ай бұрын
Molim se da vaša velikodušnost prema nama bude nagrađena. Ovaj video je odličan poklon
@RafaelBarbosa-yp9ii
@RafaelBarbosa-yp9ii 23 күн бұрын
Man, this was the best class I've ever had on everything I learned in programming. I already knew most of the concepts but the simple way you exemplified was excellent. I will watch your other videos.
@AntonyJoseph-im9xq
@AntonyJoseph-im9xq Ай бұрын
This has to be the best react speed run ever means a lot bro thank you.
@Omar-sr1ln
@Omar-sr1ln Ай бұрын
Never heard such a great round up of react , awesome vid man 👍🏻
@TheCodeBootcamp
@TheCodeBootcamp Ай бұрын
My pleasure. Any more topics you'd like me to cover?
@knecks7374
@knecks7374 Ай бұрын
@@TheCodeBootcamp Can you do react advanced topics only. Like , proper advanced stuff that is often used too. Or maybe , as a second idea , a list of commonly used libraries and the like.
@dikshantluthra5077
@dikshantluthra5077 Ай бұрын
great work man,I just revised react in 11 mins,Keep growing!!
@Jai-xq5hi
@Jai-xq5hi 18 күн бұрын
Very smoothly explained and so clear and concise.
@moustafamohsen
@moustafamohsen 14 күн бұрын
I'm a senior Angular developer, but wanted a quick way to pickup React, and I have to say this video is amazing, it doesn't get hanged up on the details and explains the concepts with text and examples, along with the reasoning as to why it's implemented this way, in addition you referenced the most used common patterns which is a great touch Just a great video!
@wajdwael8775
@wajdwael8775 Ай бұрын
You have a unique way of explaining things. Keep up the good work!
@phpsoftwareengineering
@phpsoftwareengineering Ай бұрын
Great video! I love how you added a bit of Foley as well. 💯
@elsaman
@elsaman 21 күн бұрын
I love it. you have exceptional content creational skills
@agresywniePL
@agresywniePL 13 күн бұрын
Awesome video. Especially for someone who worked with React before and needed some kind of refresh.
@afrosoul4eva
@afrosoul4eva 29 күн бұрын
Damn this is the most clear explanation of React. Everything is on point.
@VoiceHole
@VoiceHole Ай бұрын
lol i been teaching my self react for 2 years and this just put all the pieces together for me so well haha.
@dvrk6140
@dvrk6140 Күн бұрын
I am happy about the memes used throughout the whole video more than the fact that this video helped me learn concepts i didn't get previously
@phpsoftwareengineering
@phpsoftwareengineering Ай бұрын
I also took a look at your course and it too looks excellent!
@dumolwenkosigwetu6943
@dumolwenkosigwetu6943 Ай бұрын
Your tutorial is so insightful Sir. Thank you so much.
@bhargavkumar
@bhargavkumar Ай бұрын
Amazing video. Got me hooked. I think you should do this for other technologies as well, like Node & Express and Databases
@bichaudjean-marc4948
@bichaudjean-marc4948 Ай бұрын
Learning React for 2 weeks. Your video really helped me to make sense of a lot of code in my project 🎉
@zNeoDev
@zNeoDev 5 күн бұрын
This is the best React video I have seen on the internet since I've first learned React.
@MuhammadBasurah
@MuhammadBasurah 10 күн бұрын
watched this 1 time.. will comeback for sure
@visajpanchal6789
@visajpanchal6789 26 күн бұрын
Damn, its my 3rd day of learning React and you already taught me a lot.!! What a great way to explain, so much easy explanation and best visuals
@TheDjTotzy
@TheDjTotzy Ай бұрын
Using index as a key is ok for rendering UI derived from an array that doesn't have to change the order of it's elements. But when you have an array that does change the order of it's elements you gotta use a unique key (usually the id of that data item coming from the DB)
@khaouitiabdelhakim
@khaouitiabdelhakim 8 күн бұрын
Thank you so much for such a great video, you have explained almost every needed concept; keep it up bro
@maxkalashnyk3378
@maxkalashnyk3378 23 күн бұрын
I very rarely leave comments on KZbin but it’s the best video about basics of React. Thank you!
@prajwalk6685
@prajwalk6685 Ай бұрын
wow awesome explantion of all react concepts in a simpler way . Please also make a video on next JS also
@QuranProductions23
@QuranProductions23 Ай бұрын
Your videos are awesome ❤❤. Can you make more of these types of videos for other programming languages? I’m sure nobody has done what you’re doing. It’s remarkable 🎉🎉
@siyapandey8799
@siyapandey8799 Ай бұрын
Really great explanation ❤
@graphixafa3180
@graphixafa3180 Ай бұрын
Complete React Tutorial in less than 15 minutes. That's incredible.
@Filaxsan
@Filaxsan 29 күн бұрын
Cool stuff brother! 💪🔥
@user-zx2hb4ld8w
@user-zx2hb4ld8w 10 күн бұрын
very well summarized!
@alii2284
@alii2284 21 күн бұрын
This guy is underrated. Thank you man
@subhayanbairagi510
@subhayanbairagi510 Ай бұрын
Really happy to have you back , looking forward for more content , love from india
@VaibhavShewale
@VaibhavShewale Ай бұрын
well that was interesting a nice way to brush up some concept faster
@princereyes5400
@princereyes5400 Ай бұрын
hope you could do something like this in data structures and algorithms.
@2012jhon
@2012jhon Ай бұрын
Beautifully Discribed.
@amranimohamad4741
@amranimohamad4741 Ай бұрын
like the teaching style keep it UP!!
@1337bitcoin
@1337bitcoin Ай бұрын
Using react again after 4 years and this was an awesome refresher!
@SULTAN-db3fq
@SULTAN-db3fq 25 күн бұрын
We need more videos like this one
@Sahil.1
@Sahil.1 Ай бұрын
As a dev who's getting his hand into react this video is piece of art
@pavelgordon6669
@pavelgordon6669 21 күн бұрын
Very helpful, thank you!
@arhabersham
@arhabersham Ай бұрын
Loved this ❤
@orlando_kawaii
@orlando_kawaii 18 күн бұрын
This is actually pretty gooodd
@donaldpetervicente8351
@donaldpetervicente8351 13 күн бұрын
this content explains well .. more vid to watch.. its refresh my knowledge on react and js again. 😁
@almatnarmatov
@almatnarmatov 11 күн бұрын
bro this is the best tutorial on react
@uniq6318
@uniq6318 25 күн бұрын
Awesome buddy❤
@hijazi479
@hijazi479 Ай бұрын
00:01 Understanding React Components and JSX 01:36 Passing Data in React Components 02:58 Key prop in React for component identification. 04:28 React uses reconciliation to update the DOM and manage events using event handling and state. 05:58 Controlled components provide predictable behavior 07:31 React components purity and usage of strict mode 09:00 Using Context and Portals in React 10:32 Tools like Create Portal and Suspense enhance React components.
@TheCodeBootcamp
@TheCodeBootcamp Ай бұрын
Thanks for this. Just added chapters.
@manthanpatel8409
@manthanpatel8409 Ай бұрын
Amazing video 👏🏻
@ewaneewane4154
@ewaneewane4154 21 күн бұрын
Great! Pretty clear
@jeffgathumbi3559
@jeffgathumbi3559 Ай бұрын
glad to see y back.
@cryptocurrencydailybugal
@cryptocurrencydailybugal Ай бұрын
@code.bootcamp make Vue concepts Plz ser thenks
@wlockuz4467
@wlockuz4467 Ай бұрын
Never use indexes as keys, it can lead to behaviours that are very hard to debug, especially if the underlying list is modified.
@omagadavid9923
@omagadavid9923 Ай бұрын
What can we use instead
@wlockuz4467
@wlockuz4467 Ай бұрын
@@omagadavid9923 for all practical cases, for example users, products, posts etc. there should be some unique identifier already present, so you should always use that.
@tigabumunaye9778
@tigabumunaye9778 Ай бұрын
I use crypto.randomuuid
@samibhadgaokar2326
@samibhadgaokar2326 Ай бұрын
Then what is alternative for index as key
@KarthicRaghupathi
@KarthicRaghupathi Ай бұрын
You should never iterate over an iterable that will be modified. You must create a copy of the iterable for the loop and modify the original iterable separately.
@aaronward9140
@aaronward9140 Ай бұрын
great video, would be great to see this exact same video but for vue
@20s_football61
@20s_football61 Ай бұрын
That ownsome vid man !!!
@agmwpomewg
@agmwpomewg Ай бұрын
Thank you for awesome video 🙏 NextJS please
@coderzafarjon
@coderzafarjon 4 күн бұрын
Excellent!
@rabiulhasannayan8220
@rabiulhasannayan8220 Ай бұрын
just here to say you...i comment really occasionaly.... and this video..as a react developer..i understand...you realy a great great developer.
@wisdak
@wisdak Ай бұрын
X'cellent you just got a new sub😍
@zariusspritee
@zariusspritee Ай бұрын
thank you for such a clear and concise information . i owe you a coffe good sir.
@MrxyzOfcl
@MrxyzOfcl Ай бұрын
Need: "Every Svelte Concept Explained in 12 Minutes" Thanks❤
@chiranthchiplunkar3608
@chiranthchiplunkar3608 Ай бұрын
Awesome explanation🔥🔥👏👏.
@blackpinkdumplings
@blackpinkdumplings Ай бұрын
Best video ever 🎉
@jessejames6216
@jessejames6216 Ай бұрын
Outstanding content 🎉
@MRROBOT-fc5ny
@MRROBOT-fc5ny Ай бұрын
Amazing video!
@capslock3250
@capslock3250 Ай бұрын
Amazing video. Thanks 👍
@haricharanvalleru4411
@haricharanvalleru4411 Ай бұрын
Excellent explanation
@justfun8525
@justfun8525 Ай бұрын
thanks best explaination
@weiweicoding
@weiweicoding Ай бұрын
3:19 If possible, it is not recommended to use index as key, good video!!
@heyyounotyouyou3761
@heyyounotyouyou3761 Ай бұрын
Why?
@eee012
@eee012 Ай бұрын
@@heyyounotyouyou3761the key is meant to tell react reconciliation when an item in a list changes so it doesn’t need to do rerenders on items which haven’t changed. If your list changes order then the index is not reliable as a key.
@afonsopimenta
@afonsopimenta Ай бұрын
@@heyyounotyouyou3761 React uses the "key" prop under the hood to know which elements were kept the same and which ones were added/removed in the next render when a mutation of the list happens. The problem with using index as the "key" is as follows: imagine we have a list containing the strings ["a", "b", "c," "d"], iterating over the list and giving them the index as the "key" prop would generate the following - lets say we remove the string "b" from the list, the map function would generate , as you can see, the elements with the text "c" and "d" now have different keys, so, instead of react knowing the element with the string "b" was deleted, it thinks the element with the string "b" was changed to have "c", the element with string "c" was changed to have "d" and that the "d" element was deleted. This makes react re-render 3 components unecessarily instead of just 1. This might not be a big deal for short lists, but for big ones, it's a huge performance loss. Hope this helps. And if you still don't understand, feel free to ask questions 😄
@al3xg.0
@al3xg.0 Ай бұрын
@@heyyounotyouyou3761 when you render a list of items that can be modified (for example by removing elements) the index will shift and you may see some inconsistencies on the page. If the key is based on a property of the item, then the behaviour is always consistent
@user-ii7xc1ry3x
@user-ii7xc1ry3x Ай бұрын
Cool explaining
@marvelmaher5426
@marvelmaher5426 Ай бұрын
thanks, that is very useful video for me and very simple😍
@sadik_farhan_
@sadik_farhan_ Ай бұрын
Nailed It
@tamis5908
@tamis5908 15 күн бұрын
Absolutely FABULOUSLY clean and understandable explanation - KUDOS! Please provide a link to your Bootcamp site in your vid description details above!!🙌🙏🙏🙏
@INetreba
@INetreba 4 күн бұрын
awesome!
@tigabumunaye9778
@tigabumunaye9778 Ай бұрын
Great explanation thanks
@aryaman958
@aryaman958 26 күн бұрын
well explained !! , Please create React projects as well
@tanw89
@tanw89 Ай бұрын
This is great! Could you do one for NextJS please?
@Student-lj9qh
@Student-lj9qh Ай бұрын
By this video i cleard my unbroken dought help full
@Axorax
@Axorax Ай бұрын
Great video!
@iancarr3923
@iancarr3923 16 күн бұрын
Excellent - especially for the older geezer!
@milkdrom3da
@milkdrom3da Ай бұрын
As a MERN stack dev of 1 year...... I learned a lot today
@MrCrsistian
@MrCrsistian Ай бұрын
Great
@moviespalace17
@moviespalace17 17 күн бұрын
On 5:42 the function handle click should have the setLikes method instead of setClicks
@prasad_vlog
@prasad_vlog Ай бұрын
hey buddy, thanks for such valuable video... 🙃
@VIETMIXER
@VIETMIXER Ай бұрын
so great
@10xFrontend
@10xFrontend Ай бұрын
Very cool !!
@justaperson2247
@justaperson2247 Ай бұрын
Great video
@ben-iz9pj
@ben-iz9pj Ай бұрын
With this videos, now I love more my htmx approach
@aashishupadhyay5566
@aashishupadhyay5566 Ай бұрын
this is gem !
@shaansharma2504
@shaansharma2504 Ай бұрын
nice one :)
@SanketGanorkar-lb3xn
@SanketGanorkar-lb3xn Ай бұрын
Please bring more such content on nodejs and expressjs
@ashish_prajapati_tr
@ashish_prajapati_tr Ай бұрын
awesome guide.
@frankie_goestohollywood
@frankie_goestohollywood 22 сағат бұрын
Love your video! @5:41 - Should the update function inside of the handleClick function be setLikes, instead of setClicks? Thank you 🤓
@luizfelipediniz5711
@luizfelipediniz5711 Ай бұрын
Aula mto boa professor! Imagino q o fato de enterrarem os antepassados na própria casa pode ter relação com oq vc falou no vídeo da Cidade Antiga, que a região era puramente familiar. Outra coisa interessante que pode ser pauta de um vídeo futuro é a relação entre a monogâmia, o patriarcado e a revolução agrícola. Até onde eu me lembro, sociedades pré agricultura não tinham muito claro esses dois conceitos sedimentados.
@indianforever4314
@indianforever4314 Ай бұрын
please post a video on Best Practices of react and react integration to other codes ⭐⭐⭐
@batek34
@batek34 Ай бұрын
Never in my wildest dreams would I have thought of seeing Dom from Broscience in a React video 😂😂
@kasisshrestha238
@kasisshrestha238 Ай бұрын
Good one
@sulmanahmad6943
@sulmanahmad6943 Ай бұрын
Great 👍
7 React Lessons I Wish I Knew Earlier
7:30
Code Bootcamp
Рет қаралды 41 М.
Web Developer Roadmap (2024) - Everything is Changing
25:02
ByteGrad
Рет қаралды 199 М.
What Happens If You Trap Smoke In a Ball?
00:58
A4
Рет қаралды 17 МЛН
【獨生子的日常】让小奶猫也体验一把鬼打墙#小奶喵 #铲屎官的乐趣
00:12
“獨生子的日常”YouTube官方頻道
Рет қаралды 33 МЛН
Duck sushi
00:54
Alina Saito / 斎藤アリーナ
Рет қаралды 33 МЛН
APIs Explained (in 4 Minutes)
3:57
Exponent
Рет қаралды 421 М.
3 AI Micro SaaS Ideas You Can Launch In 2024 as a Solo Founder
8:14
Vitaliy Podoba | SoftFormance
Рет қаралды 17 М.
This is Why Programming Is Hard For you
10:48
The Coding Sloth
Рет қаралды 396 М.
ALL React Hooks Explained in 12 Minutes
12:21
Code Bootcamp
Рет қаралды 20 М.
Every React 19 Feature Explained in 8 Minutes
7:35
Code Bootcamp
Рет қаралды 90 М.
40 APIs Every Developer Should Use (in 12 minutes)
12:23
Coding with Lewis
Рет қаралды 219 М.
NextJS Tutorial - All 12 Concepts You Need to Know
44:38
ByteGrad
Рет қаралды 200 М.
You might not need useEffect() ...
21:45
Academind
Рет қаралды 121 М.
I earn $1,753/day with this SIMPLE tech stack
6:59
Marc Lou
Рет қаралды 257 М.
Опасная флешка 🤯
0:22
FATA MORGANA
Рет қаралды 536 М.
План хакера 🤯 #shorts #фильмы
0:59
BruuHub
Рет қаралды 988 М.
Why spend $10.000 on a flashlight when these are $200🗿
0:12
NIGHTOPERATOR
Рет қаралды 16 МЛН
Result of the portable iPhone electrical machine #hacks
1:01
KevKevKiwi
Рет қаралды 7 МЛН