React tutorial in Hindi #11 State with functional component

  Рет қаралды 138,047

Code Step By Step

Code Step By Step

Күн бұрын

Пікірлер: 118
@akshaydaharwal909
@akshaydaharwal909 Жыл бұрын
Apke Jaisa koi nahi, aise beginner level se koi nahi padhata. App best ho
@kodakstudiowebs
@kodakstudiowebs 4 жыл бұрын
Actually, I lost my job because of covid.. and I have to learn react to a new job.. your videos really help me for this...
@kashmirtechtv2948
@kashmirtechtv2948 3 жыл бұрын
Good
@supremeleader5516
@supremeleader5516 6 ай бұрын
Did u got the job?
@wakarmujtaba3522
@wakarmujtaba3522 Жыл бұрын
Fantastic video 👌👌 Bhai maine LARAVEL aapki video dekh ke seekha thaa aur as a LARAVEL Developer job kr rha hu ab react seekh Raha hu aapki video ko follow krke
@abhisheiksharma18
@abhisheiksharma18 3 жыл бұрын
i was jobless due to covid. so decide to switch carreer in IT and your series helps me alot to learn react and get a job. before that i learn html, css, and javascript from code with harry. So Thank you so much harry bhai and anil bhai .
@nikhilflautist
@nikhilflautist 3 жыл бұрын
bhai, aapki job lag gyi kya IT sector mein ab as a react developer?? Thankyou harry and anil sir for your tutorials.
@utkarshdubey6395
@utkarshdubey6395 Жыл бұрын
Sir i watched your videos before my interview and it was great help.
@rohitsk6793
@rohitsk6793 3 жыл бұрын
State in function based components samajh mei aagaya thanks bhaiya. 🙏🙏.great job👍
@princekumar-qc1nm
@princekumar-qc1nm Жыл бұрын
I learnt from many creaters on youtube but you are unique sir , you explain from basics ..Thank you so much for these types of video !!!
@zainabideen8144
@zainabideen8144 3 жыл бұрын
I've tried many playlists on youtube but at last, found the channel on that I would definitely stick upon
@AnisArif-n4c
@AnisArif-n4c 4 ай бұрын
zbrdast yr mein ek channel per react learning to kr raha ho but wo jab samjhaata hy to kuch samaj nai aata or ussi cheez ko jab meine search kia oe ye video saamney aayi ab state kaafi samaj aaya or interview questions to zbrdast he ho gaye very good
@Ghostx003
@Ghostx003 Жыл бұрын
Saw many videos still kuch samjh nhi aya but sir ki ek video se sab samjh aagaya love you sidhu paaji ❤️
@rajeshghadi58
@rajeshghadi58 4 жыл бұрын
This videos are very useful to beginners. Doing great job. You deserve millions of views, keep making this kind of stuff.
@codestepbystep
@codestepbystep 4 жыл бұрын
Thank you :)
@syedateeq1602
@syedateeq1602 3 жыл бұрын
1: the state is not accessible from outside the component. 2. State is private to component.
@harishankarsharma9068
@harishankarsharma9068 3 жыл бұрын
But through props we can use state :)
@mshahdevs
@mshahdevs 2 ай бұрын
@@harishankarsharma9068 how we can use through props ???
@starkst-z6r
@starkst-z6r Жыл бұрын
continuously watching your react series from 4 days. Thank you so much for the detailed lectures and clear explanations.
@MrSingh278
@MrSingh278 2 жыл бұрын
your playlist very easy to understand. just started today and got to know in much more easy way
@Gulshankumar-yr4mn
@Gulshankumar-yr4mn Жыл бұрын
after watching your videos I realize the power of simplicity
@kodakstudiowebs
@kodakstudiowebs 4 жыл бұрын
Thanks.... Your video very helpful for us... your way of teaching is very good.... ap idhar udhar ki baate kerke video lambi nai kerte ho.. sab kuch topic se ralted hi hota h... islie ek second k lie video se dhyan nai hat ta h..
@codestepbystep
@codestepbystep 4 жыл бұрын
Thank you brother
@Mr_Hapsi
@Mr_Hapsi 2 жыл бұрын
Sir u deserves 1m + followers at this time really aswm and understanding videos.❤❤
@americanstelent1589
@americanstelent1589 2 жыл бұрын
yar maza agaya sir ap zoom ap live classes start kardo ka hum ap sa live qustions poch saka it is suggestion
@Childrenworldfunny
@Childrenworldfunny 2 жыл бұрын
super duper easy bana diya sir apne to ......hooks ko tnx...
@manjarishrivastava641
@manjarishrivastava641 3 жыл бұрын
your complete tutorial is very useful and helpful. Thank you so much :)
@adnanhassan7252
@adnanhassan7252 3 жыл бұрын
Ap ki video pe me ad skip nhi krta. Love from pakistan
@codestepbystep
@codestepbystep 3 жыл бұрын
Thank you sir :)
@mithileshpatel4398
@mithileshpatel4398 2 жыл бұрын
Very good and concise explanations sir, thanks sir for the videos...
@SpiritSoundSanctuary
@SpiritSoundSanctuary Жыл бұрын
best teaching method
@hirenkansara77
@hirenkansara77 2 жыл бұрын
Fantastic and very useful for me. 🙏🙏🙏🙏
@prabhatrawat9080
@prabhatrawat9080 3 жыл бұрын
very nice explanation , thanks
@codestepbystep
@codestepbystep 3 жыл бұрын
You are welcome
@Raghu_378
@Raghu_378 Жыл бұрын
Content very useful ❤❤
@Wishdomloom9462
@Wishdomloom9462 2 жыл бұрын
big fan from nepal
@jaykumarvyas151
@jaykumarvyas151 6 ай бұрын
4:09 agar sir hum isme Document.write alert ke niche Likhe tab bhi output aata hai toh kya wo method chalegi ya nahi bataiye sir???
@javedkhan1634
@javedkhan1634 Ай бұрын
yes, please short the vide length, the tutorials are very informative and nice
@codestepbystep
@codestepbystep Ай бұрын
Thanks a lot, I'll try to make them shorter in the future!
@atifazad6738
@atifazad6738 Жыл бұрын
Thanks Anil that's helps a lot
@ponkhibaruah3422
@ponkhibaruah3422 Жыл бұрын
Thankyou so much for this video
@MaryamKhan-nn5gh
@MaryamKhan-nn5gh Жыл бұрын
ooo yes i know kue k jo variable hai in ka scope huta hai javascript mai k curly baces k inder jo variable define kr diya jaye wo us curly braces k inder hi accessible huta hai us k bahir nai kr skty that,s why k alert ki value hange hu gai likin bahir k h1 k value nai change hu pai
@MaryamKhan-nn5gh
@MaryamKhan-nn5gh Жыл бұрын
😁
@webmobi2773
@webmobi2773 4 жыл бұрын
Great brother nice explained. 👍
@Raghu_378
@Raghu_378 2 жыл бұрын
Awesome video keep continue bro
@vishalsankhala7596
@vishalsankhala7596 2 жыл бұрын
use kar skte hai sir...but hume uske liye props ka use krna pdega because ek component s dusre component mai value props k through hi send hoti hai
@varshaharkal9730
@varshaharkal9730 Жыл бұрын
thanks sir you are great teacher
@KuldeepKumar-gx3po
@KuldeepKumar-gx3po 2 жыл бұрын
Very nice teaching
@adeelahmed9573
@adeelahmed9573 11 ай бұрын
hi sir your video is great
@GovindramJadam
@GovindramJadam Жыл бұрын
awesome videos
@codestepbystep
@codestepbystep Жыл бұрын
Thanks!
@jaykumarvyas151
@jaykumarvyas151 6 ай бұрын
Fresher job ke liye ye playlist kafi hai ya aage bhi aana chahiye????
@SarojKumar-zt8lg
@SarojKumar-zt8lg Жыл бұрын
aap apna code description pe diya kare time bachega☺
@SanjayBehera
@SanjayBehera 2 жыл бұрын
love the way you explain
@alpeshbaraiya2384
@alpeshbaraiya2384 2 жыл бұрын
In an earlier video, you said that react uses virtual DOM which only updates that particular element which is updated, now you said that when we use state the entire Component will be re-render. Can you please explain how both sentences are correct?
@MaryamKhan-nn5gh
@MaryamKhan-nn5gh Жыл бұрын
us k leye use effect use hu ga abhi tu serf state hi parhi hai is leye ye sara update hu raha hai
@Sky97999
@Sky97999 Жыл бұрын
Actually he tried to say particular element means a single component as in react every piece of website page can be broken into components. So it re- render the component for which the State is updated
@noumanarshad282
@noumanarshad282 3 жыл бұрын
thank u for the helpful videos! mujy ya poochna hy k jb main updateData valy function main data veriable alert krain to "anil" value ho rahi hy but mery khayal main sidhu alert hona chahiy! please guide
@AliRaza-qn5th
@AliRaza-qn5th 2 жыл бұрын
nice learning
@Wisdom_Waters
@Wisdom_Waters 3 жыл бұрын
Great dost
@sompuraproduction
@sompuraproduction 3 жыл бұрын
Hey, i try object in in state but when i am updating only one parameter from that state then other parameters are missing in functional component. Any suggestions? Thank you.
@sangitakumari845
@sangitakumari845 3 жыл бұрын
If I want to style (0) what I will do ?
@avi_nash_patel
@avi_nash_patel Жыл бұрын
Thank You 😁
@SandeepKumar-xv3xp
@SandeepKumar-xv3xp 3 жыл бұрын
Sir g aap component ko bahar use lar sakte ho aur state private hoti hai, please reply my answer is right or wrong...
@nimishaisamaliya5231
@nimishaisamaliya5231 2 жыл бұрын
Sir, is it fixed that there is run index.js itself... As i have created 2 js file and if i am running the code then that code is Not working but if i call that component on index.js then it works fine
@sahni30
@sahni30 3 жыл бұрын
interview qusetion answer: sir state ko hum top par hi use kar sakte hain ,, state component kai bahar hum state use nahi kar sakte.. sir second question ka answer kya hai, public ya private ?
@shreeganga0111
@shreeganga0111 2 жыл бұрын
nice video
@nitinawasthi6821
@nitinawasthi6821 2 жыл бұрын
bro agar mai ik console lgau function ke ander, setData ke baad toh mere ko default value hi show ho rha hai na ki updated value... other question agar mai console.warn('________') lgata hu function ke bahr toh jbi mai web app ko reload krta hu ja button ko ciick krta hu toh mere console.warn 2 times show ho rhi hai ...
@dikshamiglani796
@dikshamiglani796 Жыл бұрын
did you find the solution ?
@yashwant4you
@yashwant4you 3 жыл бұрын
Video length does not matter. I'm learnig React js also.
@sneha4704
@sneha4704 Жыл бұрын
nice
@mytyoga9317
@mytyoga9317 3 жыл бұрын
When are you saying import Users from ''./Users" so what is first Users is it a function name or filename? and what is ./Users filname or function name? I tried to change name of function in Users.JS so getting errors
@vishnupriyareddy8780
@vishnupriyareddy8780 3 жыл бұрын
First one is the file name /.is imported from react library
@Vishalvasu07
@Vishalvasu07 Жыл бұрын
I read definition of function component is that functions are stateless, but here you use state in function component i confused........
@jonroni5756
@jonroni5756 2 жыл бұрын
Hello Sir! I have problem in useState: import React, {useState} from 'react' function App(){ var [data, dataUpdate]=useState(0); function change(){ dataUpdate(data+1); } return ( {data} change()}>Click Here ) } export default App Whenever i used useState it shows me the blank page after execution
@rohitmaurya4851
@rohitmaurya4851 2 жыл бұрын
where you wrote dataUpdate, Please change it into setData or updateData
@SunilKumar-uz8bc
@SunilKumar-uz8bc 2 жыл бұрын
Trying Using this, Update you button click like this change }>Click Here
@FM001
@FM001 2 жыл бұрын
function App(){ const[data,setUpadte]=useState(0); function Update(){ setUpadte(data+1); } return( {data} Update()}>click me ) } worked for me and i tried you code as well it worked
@bhuvadarshak661
@bhuvadarshak661 Жыл бұрын
Click Here
@SwapnilUVyawhare
@SwapnilUVyawhare Жыл бұрын
thanks brother
@codestepbystep
@codestepbystep Жыл бұрын
Welcome
@jitendergola2842
@jitendergola2842 2 жыл бұрын
please make one video how to use MSAL Authentication in React
@AnandKumar-id6gy
@AnandKumar-id6gy Жыл бұрын
sir , update function is not working only show the data and updatedata is not show. plz give me the reasion
@bhattaraitheaxe
@bhattaraitheaxe 3 жыл бұрын
Great
@RohitKumar-dz8dh
@RohitKumar-dz8dh Жыл бұрын
Thanks
@crazetalks6854
@crazetalks6854 Жыл бұрын
state of react is private because it can only be used by its own component
@muhammadyounas9253
@muhammadyounas9253 3 жыл бұрын
good but more explore
@wildcartanimal
@wildcartanimal 3 жыл бұрын
Agr hm import react from 'react' krte h to uske sath hme or kya import krna padega. Agr hm import {useState} from react nhi kre to
@codestepbystep
@codestepbystep 3 жыл бұрын
React.useState() jb aap state ko use kroge to
@wildcartanimal
@wildcartanimal 3 жыл бұрын
@@codestepbystep thank you
@miansab7368
@miansab7368 Жыл бұрын
We cannot use update function outside the state and this state is private
@TheTargetLesson
@TheTargetLesson 3 жыл бұрын
Playlist link not available...Pls provide correct link...sir
@SantoshSingh-mo8mr
@SantoshSingh-mo8mr 3 жыл бұрын
kzbin.info/aero/PL8p2I9GklV47BCAjiCtuV_liN9IwAl8pM
@TheTargetLesson
@TheTargetLesson 3 жыл бұрын
@@SantoshSingh-mo8mr thanks man
@ShubhamSingh-kx4ov
@ShubhamSingh-kx4ov Жыл бұрын
as far as i know the variable cannot be changed cause it was changed locally not globally so that's why it showed in alert not in screen
@dikshamiglani796
@dikshamiglani796 Жыл бұрын
console.warn is executing twice why ?
@pramodgadekar239
@pramodgadekar239 2 жыл бұрын
button per 5 baar click hone ke bad alert kaise print kare sir please tell me sir i am a beginner sir please tell me sir soon as possible sir
@ayushsenger1241
@ayushsenger1241 2 жыл бұрын
DeStructure ka kya concept hota hai
@kiranchaudhari8680
@kiranchaudhari8680 3 жыл бұрын
boolean value kaise used kare usestate mai
@Creator-cl6vs
@Creator-cl6vs Жыл бұрын
1.state not used outside 2.state is private component
@vinayrohilla7528
@vinayrohilla7528 3 жыл бұрын
Can't use newState in other Component what is the reason anybody help me
@kodakstudiowebs
@kodakstudiowebs 4 жыл бұрын
What is hooks in react???
@codestepbystep
@codestepbystep 4 жыл бұрын
Jaldi video ayegi bhai sare hooks pr b
@kodakstudiowebs
@kodakstudiowebs 4 жыл бұрын
@@codestepbystep ok thanks...
@harshitgupta4131
@harshitgupta4131 4 жыл бұрын
❤️❤️❤️
@sarthaksontakke7283
@sarthaksontakke7283 Жыл бұрын
state are private in react
@ameyj5973
@ameyj5973 3 жыл бұрын
Your using hooks. But how to update states without using hooks.needs to explain first.
@jawadullah4685
@jawadullah4685 2 жыл бұрын
state is private sir😃😃😃😃😃😃😃
@apekshagambhire6982
@apekshagambhire6982 2 жыл бұрын
State public hai
@saurabhdixitgurubaba6985
@saurabhdixitgurubaba6985 Жыл бұрын
bhai mere maine aapke vedio yha se dekhne band kr diye mai code with harry ko subscribe kr rha hu aur aapko unsubscribe kr rha hu aap ne clean trike se nhi smjhaya
@satyamsingh7178
@satyamsingh7178 Жыл бұрын
Private
@MCAMohdzubairalamansari
@MCAMohdzubairalamansari Жыл бұрын
good job bro#$
@coder-cc4pd
@coder-cc4pd 8 ай бұрын
useState one component to another component in same file const As = ()=>{ const [cvalue,svalue] = useState("ravi") return [cvalue,svalue] } const Tut3 = () => { const [f,s]= As() function cb(){ s("shiv") } console.log("___________________________________=====================") return ( {f} click btn ) } state is private
React tutorial in Hindi #12 State with class component
8:01
Code Step By Step
Рет қаралды 91 М.
React tutorial in Hindi #13 Props with functional component
13:54
Code Step By Step
Рет қаралды 117 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,6 МЛН
React tutorial in Hindi #7 functional Component | what is component
11:15
Code Step By Step
Рет қаралды 130 М.
React tutorial in Hindi #10 Click event and function in ReactJs
9:54
Code Step By Step
Рет қаралды 126 М.
React tutorial in Hindi #19 Basic Form validation
17:39
Code Step By Step
Рет қаралды 128 М.
React tutorial in Hindi #14 Props in class component
13:19
Code Step By Step
Рет қаралды 74 М.
React tutorial in Hindi #46 Hight order component (HOC)
10:31
Code Step By Step
Рет қаралды 105 М.
React tutorial in Hindi #9 JSX with Reactjs
8:30
Code Step By Step
Рет қаралды 101 М.
The Most Important Design Pattern in React
35:04
Cosden Solutions
Рет қаралды 113 М.