Full React Tutorial #4 - Dynamic Values in Templates

  Рет қаралды 337,345

Net Ninja

Net Ninja

Күн бұрын

In this React tutorial we'll see how to output dynamic values & variables using curly braces { } in our React JSX templates.
🐱‍💻 🐱‍💻 Course Files:
+ github.com/iamshaunjp/Complet...
🐱‍👤🐱‍👤 JOIN THE GANG -
/ @netninja
🐱‍💻 🐱‍💻 My Udemy Courses:
+ Modern JavaScript - www.thenetninja.co.uk/udemy/m...
+ Vue JS & Firebase - www.thenetninja.co.uk/udemy/v...
+ D3.js & Firebase - www.thenetninja.co.uk/udemy/d...
🐱‍💻 🐱‍💻 Helpful Links:
+ HTML & CSS Course - • HTML & CSS Crash Cours...
+ Modern JavaScript course - • Modern JavaScript Tuto...
+ Get VS Code - code.visualstudio.com/
🐱‍💻 🐱‍💻 Social Links:
Facebook - / thenetninjauk
Twitter - / thenetninjauk
Instagram - / thenetninja

Пікірлер: 108
@shubhang2877
@shubhang2877 3 жыл бұрын
Ive watched him so much that I say "Alright then gang" with him
@JonsonNcube
@JonsonNcube 3 жыл бұрын
Hahahaha! Same here, I even talk to my fam like that... 😅
@codedynamics1
@codedynamics1 3 жыл бұрын
😂
@sandrinjoy
@sandrinjoy 3 жыл бұрын
I will be joining this channel when i get i my first job. This guy here is teaching me a lot from the past 2 years ❤
@NetNinja
@NetNinja 3 жыл бұрын
Thanks so much :)
@vaishnavplays203
@vaishnavplays203 3 жыл бұрын
hii pakalu papito aka binod XD
@sandrinjoy
@sandrinjoy 3 жыл бұрын
@@vaishnavplays203 shh.
@belzeebub6022
@belzeebub6022 3 жыл бұрын
The best react tutorial series on the internet no cap, such a great teaching with concept instead of using big words with no use , thank you sir for this.
@nextjs123
@nextjs123 Жыл бұрын
Best React Tutorial on KZbin with Clear Concepts. Thanks The Net Ninja from my deepest heart.
@dannyman2200
@dannyman2200 3 жыл бұрын
This video is the perfect example of how understanding the basics is pivotal- I've understood how Props have worked for a while now, but I didn't get how simple it was until this video, it's just made React all fit into place for me. Thanks again Shaun another great playlist!
@NetNinja
@NetNinja 3 жыл бұрын
Thanks Danny 😃
@onrjs
@onrjs 3 жыл бұрын
I've learned a lot from your Modern JavaScript course on udemy. Thank you Shaun for making it easy to understand.
@rin0422
@rin0422 2 жыл бұрын
Hello, if you remember me I comment on your CSS tutorial and after that I came here to learn React because I have knowledge on js but not pro and I was amazed. You explained every single detail the react can do Thank you so much Shawn or Sean whatever your name is called sorry. You really teach well and the professor from my school is no match from you.
@allanregista4422
@allanregista4422 3 жыл бұрын
My fav sifu coder... Finally... Thank u for your time to make this for us.. 🙏
@NetNinja
@NetNinja 3 жыл бұрын
My pleasure 😊
@codedynamics1
@codedynamics1 3 жыл бұрын
I love his enthusiam it's infectious !
@konulaliyevaa
@konulaliyevaa 2 жыл бұрын
The best explanation , easy, simple. Thanks again!
@eugenentamack5023
@eugenentamack5023 3 жыл бұрын
I love your exlanation your are among many the best teacher of REACT I learn a lot with you and in a simple english.
@csereal100
@csereal100 8 ай бұрын
Finally someone who can explain and teach React ! Thanks🤘
@pieteromt8121
@pieteromt8121 3 жыл бұрын
Hi Shaun, thanks for taking the time again for creating this updated React tutorial. The previous ones were already great. Expectations are thus high for this new series. :-)
@NetNinja
@NetNinja 3 жыл бұрын
Hope you enjoy!
@yuvrajs8080
@yuvrajs8080 Жыл бұрын
This is the best react tutorial on the internet. When I started learning React from other resources, I did not understand much and rather it was confusing, but you helped me clear my doubts and concepts. You have the best way of explanation, easy and simple. Thanks a lot 😊😊😊.
@NetNinja
@NetNinja Жыл бұрын
Great to hear that Yuvraj! :)
@BizzaroBrainBoi
@BizzaroBrainBoi 8 ай бұрын
This is probably the most important 1st video a beginner needs -- after setting up all of react of course. Awesome video, and what a nice man for taking the time to show us the basics. THANK YOU!
@NetNinja
@NetNinja 8 ай бұрын
Awesome, thank you for your kind words! :)
@redMaple_QC
@redMaple_QC 2 жыл бұрын
So far so good. I just started your tutorial. Your presentation is perfect.
@matthewbeardsley7004
@matthewbeardsley7004 3 жыл бұрын
Oh no! I got to the 4th one and you haven't uploaded the rest! I know it's Christmas, but I hope you can. Enjoying it so far!
@stwarrior9983
@stwarrior9983 2 жыл бұрын
This tutorial is expended my horizon !!!
@kinstar
@kinstar 3 жыл бұрын
this modern recap for react is so refreshing :D
@chertsfieldminos2881
@chertsfieldminos2881 Жыл бұрын
Good lessons with vivid examples which arise my motivation of study 😊
@lockborethdevid3533
@lockborethdevid3533 2 жыл бұрын
Short Clear Useful => Amazing Tutorial!
@akromxujaniyozov7050
@akromxujaniyozov7050 3 жыл бұрын
Shaun, your videos are perfectooooo
@ccc23892
@ccc23892 5 ай бұрын
This is by far the best react tutorial I’ve watched! Thank you!
@NetNinja
@NetNinja 5 ай бұрын
Wow, thank you! :) glad it was helpful
@hristoplamenov1942
@hristoplamenov1942 3 жыл бұрын
Working with Shaun as usual, watching TheNetNinja as usual ...
@Biotoxic510
@Biotoxic510 2 жыл бұрын
You are the Best. Thank you so much!!
@maskman4821
@maskman4821 3 жыл бұрын
Recap we can assign numbers, strings, etc to variables and output them within curly braces in template, it is called dynamic value. for example: const greetings = 'hello world' const num = 50 { greetings } { num } we can also output data directly inside curly braces such as data { 10 }, string { 'hi, there ! },array { [1, 2, 3, 4, 5] }, or evaluation { Math.random() * 10 }, etc. we can also assign dynamic value to attribute, for instance, const link = '.google.com.tw' about
@beinyourguard
@beinyourguard 3 жыл бұрын
really nice. i wanna learn react from a long time
@jasper5016
@jasper5016 2 жыл бұрын
Hi Shaun, thanks for this great tutorial. Are there any member specific courses or content? I want to join your channel.
@shanny104
@shanny104 3 жыл бұрын
thanks for this amazing course sir
@troymitchel4790
@troymitchel4790 3 жыл бұрын
Great stuff! Will you have the full course on Udemy?
@sayemarg
@sayemarg 2 жыл бұрын
Tnx For Basic Information ❤️
@janduna9187
@janduna9187 3 жыл бұрын
Is there a need for Redux with so many new features in React relating to state management, what's your opinion ?
@veekay5195
@veekay5195 3 жыл бұрын
Absolutely love and learning a lot from this series! What's the frequency of upload going to be? By when can we expect this series to end?
@veekay5195
@veekay5195 3 жыл бұрын
PS:Not asking coz I want it to end asap, just wanna know the timeframe, cant wait to see myself come out as a React ninja by the end of it :P
@daothientoan
@daothientoan 3 жыл бұрын
Passing classes with this Senpai. A-ni-ga-to....
@GiancarloCarccamo
@GiancarloCarccamo 2 жыл бұрын
great video man
@saadafzal7844
@saadafzal7844 3 жыл бұрын
Great explanation thank you sir :-)
@mohammadabdelrahman786
@mohammadabdelrahman786 Жыл бұрын
I'm actually watching all the ads just for your sake ❤️ the least I can do for you
@nnn039
@nnn039 3 жыл бұрын
Hi Shaun I make it sure to come and like your new videos. Every video is value addition to your courses here in KZbin.
@NetNinja
@NetNinja 3 жыл бұрын
Thank you so much!
@yagami-light
@yagami-light 2 жыл бұрын
you can't print object but you can definitely retrieve the object's value such as { person.name } or { person.age }
@nnanadavid9676
@nnanadavid9676 Жыл бұрын
Yea totally
@nileshshetty2496
@nileshshetty2496 8 ай бұрын
yeah exactly
@tea936
@tea936 2 жыл бұрын
Great video. How did you comment at 2:35 with briskly?
@kingprecious5783
@kingprecious5783 2 жыл бұрын
Nice workshaun
@tarekghosn3648
@tarekghosn3648 Жыл бұрын
you my man. are awesome.
@nobeltheinsider
@nobeltheinsider Жыл бұрын
i have just subscribed for your awsome teaching and accent
@NetNinja
@NetNinja Жыл бұрын
Thank you! :)
@officerdoofy6693
@officerdoofy6693 3 жыл бұрын
Will you be releasing a full react course on udemy?
@eugenentamack5023
@eugenentamack5023 3 жыл бұрын
I have one Problem not in these Serie but with Reac-Native I will tell you more next Thank you so much
@uzair004
@uzair004 2 жыл бұрын
one key point is React (JSX) ignores boolean & falsy values like null & undefined. Nothing is printed to the screen in that case. you can print boolean values using value.toString() in that case boolean is converted to string & printed on screen. or use String(value), this one can also be used for undefined & null.
@moustafamahmoud4948
@moustafamahmoud4948 3 жыл бұрын
i didn't know before that i'm able to print arrays like what you did I used to loop on them , Thanks sir
@JohnnyBigodes
@JohnnyBigodes 3 жыл бұрын
This was just an example. For a better overview you should loop through the array.
@luyolopondo9934
@luyolopondo9934 8 ай бұрын
Nice simple🙂
@giorgi23
@giorgi23 3 жыл бұрын
I've been watching your tutorials for years here on youtube or on udemy and they are always to the point and well organized. But strange thing is that Yoshi is still 30 :)))
@tenc6491
@tenc6491 Жыл бұрын
🤣🤣🤣🤣
@leodragonheart754
@leodragonheart754 3 жыл бұрын
I got a question. Why should we write the js code before the return value if we can just write it inside our div directly ? Couldnt we just write "Welcome to the new blog" above the "hello, ninjas"? why do the extra step?
@AccessCode101
@AccessCode101 3 жыл бұрын
Any future React course on Udemy, Shaun?
@nandopookey9195
@nandopookey9195 Жыл бұрын
Thank you sir
@spinorapps3334
@spinorapps3334 3 жыл бұрын
Very good 🤠
@BobstyleLiving
@BobstyleLiving 2 жыл бұрын
Master shifu 🐰
@jomarrumbawa6176
@jomarrumbawa6176 3 жыл бұрын
Thank you for this! How many more videos are going to be released?
@NetNinja
@NetNinja 3 жыл бұрын
Hey Jomar, there will be a total of 32 videos in this course :)
@jomarrumbawa6176
@jomarrumbawa6176 3 жыл бұрын
The Net Ninja thank you again Shaun! Looking forward to the complete release
@sueholder703
@sueholder703 3 жыл бұрын
When I save the file the formatting goes skew. I have to go and physically change with settings select language, how do I get VScode to detect react?
@irfk4173
@irfk4173 Жыл бұрын
You can output object values, for example.. {person.name}, correct?
@Se.mu01
@Se.mu01 3 жыл бұрын
Thanks 🙏
@aayushpatil7514
@aayushpatil7514 3 жыл бұрын
Thanks sir
@therichardchannel
@therichardchannel 3 жыл бұрын
is there a functional reason you put a space before and after the inputted variable in the curly braces? or is it purely for aesthetics?
@shr1han
@shr1han 3 жыл бұрын
It's just for readability and 'aesthetics'.
@Soap_js
@Soap_js 2 жыл бұрын
You can't render the person object but you can render it's data by doing something like {person.name}
@abhayrana4955
@abhayrana4955 3 жыл бұрын
what is the dynamic value here which you are taking about??...is it the value that is written and understood in java script??
@abdulrehmanrais1077
@abdulrehmanrais1077 2 жыл бұрын
In Django we use block title and block body.. How can we get same functionality in react???
@yadneshkhode3091
@yadneshkhode3091 3 жыл бұрын
Sir please teach redux saga too please
@Mahmudulhasan-ts5hm
@Mahmudulhasan-ts5hm 3 жыл бұрын
thanks
@realtorBG
@realtorBG 3 жыл бұрын
the net ninja is #1
@bharadwajsaibandaru4323
@bharadwajsaibandaru4323 2 жыл бұрын
Hello Shaun , at 2:20 it shows error for you on the web page but for me it's displaying an empty web page and if I open the console to check for any errors then I can see the error you got over there . Why is it not visible on the webpage and is visible in the console ?? Please do reply . I wasn't able to figure it out until I opened the console .
@roschellemr2228
@roschellemr2228 Жыл бұрын
I have this too :/
@ardavural4649
@ardavural4649 Ай бұрын
I hope the whole tutorial is detailed like that and still valid in 2024. Maybe you can specify it in the comment section if it is still valid in 2024 or you can tell us the things that are changed. Thank you for the video tho!
@NetNinja
@NetNinja Ай бұрын
The main concepts are still relevant but there could be some syntax changes :)
@henrywang2516
@henrywang2516 Жыл бұрын
Sir, where can I download the JS server?
@ridl27
@ridl27 3 жыл бұрын
ty.
@akujin19
@akujin19 3 жыл бұрын
Why my react app not displaying the error?
@PriyanshuRaj-oc4tk
@PriyanshuRaj-oc4tk 3 жыл бұрын
nice
@mtshgaming292
@mtshgaming292 3 жыл бұрын
mern stack next?
@mtsurov
@mtsurov Жыл бұрын
I dont know how many times i clicked on that pending VS-Code update on your screen, ... thinking that its mine.
@karthifairhawn9825
@karthifairhawn9825 2 жыл бұрын
Ninja i need to know who is yoshi.. Seen in all tutorials xD 😁😁
@RustamRustamov-eu1dv
@RustamRustamov-eu1dv 5 ай бұрын
I was surprised when you used the word "yoshi" because this word also exists in Uzbek and it means age 😂😂
@NetNinja
@NetNinja 4 ай бұрын
Haha, I had no idea - brilliant!
@codedynamics1
@codedynamics1 3 жыл бұрын
but aren't arrays objects? The part where ninja is going over dynamic variables inside of { }. So this must be a React thing because in javascript arrays ARE Objects so by rights arrays shouldn't work inside { } got me scratching my head a little..
@roschellemr2228
@roschellemr2228 Жыл бұрын
Anyone getting a blank page for the error?
@TheScottishDad
@TheScottishDad 2 жыл бұрын
After searching for tutorials and listening to various popular channels on this subject, I have came to settle on yours. Why? It's because you don't rush or speak too quickly, you speak at a pace I can code alongside. You also cover the material really well, but not at a level that's out of scope for the level being taught. Thanks
@russellkirkpatrick9603
@russellkirkpatrick9603 Жыл бұрын
brian design moment
@toannew
@toannew 3 жыл бұрын
2:23 can not output Object, boolean
@tranxuanbac7013
@tranxuanbac7013 3 жыл бұрын
Hello Việt Nam
@rajgautam3621
@rajgautam3621 3 жыл бұрын
Flutter
Full React Tutorial #5 - Multiple Components
6:09
Net Ninja
Рет қаралды 352 М.
Git MERGE vs REBASE
16:12
Academind
Рет қаралды 1 МЛН
UFC 302 : Махачев VS Порье
02:54
Setanta Sports UFC
Рет қаралды 888 М.
Can you beat this impossible game?
00:13
LOL
Рет қаралды 44 МЛН
ONE MORE SUBSCRIBER FOR 6 MILLION!
00:38
Horror Skunx
Рет қаралды 14 МЛН
100❤️ #shorts #construction #mizumayuuki
00:18
MY💝No War🤝
Рет қаралды 20 МЛН
Full React Tutorial #8 - Using State (useState hook)
6:42
Net Ninja
Рет қаралды 416 М.
How to FETCH data from an API using JavaScript ↩️
14:17
Bro Code
Рет қаралды 80 М.
Postgres Internal Architecture Explained
33:16
Hussein Nasser
Рет қаралды 142 М.
Full React Tutorial #2 - Creating a React Application
13:02
Net Ninja
Рет қаралды 622 М.
Full React Tutorial #3 - Components & Templates
6:37
Net Ninja
Рет қаралды 443 М.
Speed Up Your React Apps With Code Splitting
16:50
Web Dev Simplified
Рет қаралды 365 М.
Learn React With This One Project
42:38
Web Dev Simplified
Рет қаралды 686 М.
EASY React Animation with useGSAP()
12:45
GreenSockLearning
Рет қаралды 77 М.
Learn React useReducer Hook with Examples
14:19
Lama Dev
Рет қаралды 166 М.
UFC 302 : Махачев VS Порье
02:54
Setanta Sports UFC
Рет қаралды 888 М.