React Pure Components Tutorial

  Рет қаралды 59,187

techsith

techsith

Күн бұрын

Пікірлер: 163
@gabrielfono844
@gabrielfono844 Жыл бұрын
this is a channel that contributed to help me get my first job as full stack engineer at Booz Allen Hamilton. I learnt everything from BASIC to OOP to React class and end up with React functional. I am currently preparing my interview at Deloitte for a react position and I haven't used class for almost 2years. so I gotta get back to my dad here to rewatch and implementing things again. the difference now is that I have experience and I can review things faster. thanks again love from seattle waghinston.
@manandabiradar2108
@manandabiradar2108 4 жыл бұрын
After watching your video got cleared many doubts sir, thank you so much, keep it up sir
@Techsithtube
@Techsithtube 4 жыл бұрын
All the best
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Mananda! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@anupsingh24
@anupsingh24 5 жыл бұрын
lovely explaination
@Techsithtube
@Techsithtube 5 жыл бұрын
Thanks for watching Anup:)
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Anup! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@prabeen90
@prabeen90 7 жыл бұрын
can you please make some videos on authentication and route guard with react-router.
@roshnikutty4252
@roshnikutty4252 7 жыл бұрын
@techsith, I too vote for these 2 topics
@soultouchingsongs
@soultouchingsongs 6 жыл бұрын
Me too
@ericzorn3735
@ericzorn3735 6 жыл бұрын
Me 3
@BELSISY
@BELSISY 5 жыл бұрын
Me too
@piyushdayani4438
@piyushdayani4438 3 жыл бұрын
Awesome Teaching Style, Thank You So much Sir
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Piyush! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@mooresoption8224
@mooresoption8224 6 жыл бұрын
This is exactly what I'm looking for, very simple explanation. I was able to follow a tutorial from a different channel until everything gets tangled up. Thanks!
@DCodingStudio
@DCodingStudio 5 жыл бұрын
Please watch this one as well kzbin.info/www/bejne/aILVq4Gkqt6Dd68 And please share your valuable feedback 🙏
@aiwithrudiyt
@aiwithrudiyt 5 жыл бұрын
good explanation, would be great to see like 2 common examples for when you would likely use this
@MasPensador
@MasPensador 4 жыл бұрын
very good, the best explanation til now, very clear and easy to understand
@HD-fs1qm
@HD-fs1qm 6 жыл бұрын
at 8:00 i think we can simplify it by *return this.state !== nextState* Awesome tuts BTW, very helpful
@Techsithtube
@Techsithtube 6 жыл бұрын
Thanks , that is better.
@thehaystacker7965
@thehaystacker7965 4 жыл бұрын
but, as both are objects, the actual comparison is not possible. Right?
@ravikumarsudaram1344
@ravikumarsudaram1344 5 жыл бұрын
Really help in great understanding
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Ravikumar! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@shasankpandey6995
@shasankpandey6995 4 жыл бұрын
hi sir,,,i do have a qsn...can we do this.setstate() in render methode...what happen if we do that ?
@Techsithtube
@Techsithtube 4 жыл бұрын
No you don't want to do set state in render. or you will go in infinite loop.
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Shashank! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@ajoypatra882
@ajoypatra882 4 жыл бұрын
Sir... It it possible to use a react components into multiple different react projects using some import ?
@Techsithtube
@Techsithtube 4 жыл бұрын
Yes, definitely. what you have to do is create a separate repo for all the reusable components. and you can npm install that in any project and use it.
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Ajoy! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@tomlemanh5506
@tomlemanh5506 6 жыл бұрын
Bruh... u da real MVP... so much learnt from you.
@Techsithtube
@Techsithtube 6 жыл бұрын
I am glad you learnt something. Keep learning !
@10sreetama
@10sreetama 3 жыл бұрын
So can we subtitute Pure Compment with ComponentShouldMount ???
@Techsithtube
@Techsithtube 3 жыл бұрын
Not completely. ComponentShouldMount can be used to avoid for some manual updates. But in most cases Pure Component would be sufficient
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Sreetama! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@10sreetama
@10sreetama 3 жыл бұрын
@@Techsithtube thank you so much
@shakeelkoper7068
@shakeelkoper7068 6 жыл бұрын
I have completed the Entire React Series it was Great you made by day Thanx
@Techsithtube
@Techsithtube 6 жыл бұрын
Wow. That is dedication. I will have to make more now. :) Keep learning!
@gabrielfono844
@gabrielfono844 4 жыл бұрын
thanks very very much again I was watching this vidoe this morning and I was like "this dude shoud be getting pay for this such amazing tutorials"
@tkssharma
@tkssharma 4 жыл бұрын
kzbin.info/www/bejne/kIjUl3R6mJJjgZo
@harikotha7
@harikotha7 4 жыл бұрын
Thanks, Football example is a good one :)
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Hari ! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@sushantkshirsagar
@sushantkshirsagar 6 жыл бұрын
Your videos are addictive. Do you have routing in react video ?
@Techsithtube
@Techsithtube 6 жыл бұрын
I dont have a routing video on react. but I am planning to make some this weekend.
@sushantkshirsagar
@sushantkshirsagar 6 жыл бұрын
techsith yeah ... I need it 😂👍🏼🙏🏼
@tkssharma
@tkssharma 4 жыл бұрын
kzbin.info/www/bejne/kIjUl3R6mJJjgZo
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Sushant! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@niteshtak8484
@niteshtak8484 5 жыл бұрын
Kindly create video related to Seever side rendering and client side rendering working with react
@Techsithtube
@Techsithtube 5 жыл бұрын
Nitesh, that is next on my plan.
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Nitesh! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@roshnikutty4252
@roshnikutty4252 7 жыл бұрын
Thank you, @techsith for this video!
@manandabiradar2108
@manandabiradar2108 4 жыл бұрын
Very nice explanation sir
@Techsithtube
@Techsithtube 4 жыл бұрын
Thanks and welcome
@sanjaysalins
@sanjaysalins 5 жыл бұрын
simple and clear, very helpful, thank you
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Sanjay! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@NitinSharma-rg8lk
@NitinSharma-rg8lk 5 жыл бұрын
Btw why we should avoid unnecessary rerendering?? Does it affects performance?
@VladTrishch
@VladTrishch 5 жыл бұрын
Rendering is one of the most CPU-wise expensive things an app can do. If you do web development accessing DOM elements is generally slow or if you work with react-native, sometimes multiple unnecessary re-renders can take more than 1/60 of a second causing your FPS to drop below 60.
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Nitin! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@sujaym6850
@sujaym6850 6 жыл бұрын
As per your previous video in the playlist you said componentDidMount() method will only run once and it is absolutely true from what I noticed. In this video, you introduce a setInterval method inside componentDidMount() which runs every 2 seconds but I noticed it doesn't run as componentDidMount() will run only once. How did the interval work for you and not on my side? The bigger question how did componentDidMount() run multiple times?
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Sujay! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@Colstonewall
@Colstonewall 6 жыл бұрын
Awesome. . .Clear as clean glass.
@vijukgl
@vijukgl 5 жыл бұрын
@ techsith: Hi, I have an issue creating a re usable react component with redux, that I'm added same component multiple times on the parent component and I'm trying to re load data on a button click of one of its instance but I'm ending up with rendering all components with new data re loaded any suggestions on this
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Vijay! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@atmospheric_b
@atmospheric_b 6 жыл бұрын
Super clear! Thanks a lot!
@manojd929
@manojd929 6 жыл бұрын
what is the best pratice to make api calls in React ? in ComponentWillMount or ComponentDidMount ? When we are also using Redux in the Project
@Techsithtube
@Techsithtube 6 жыл бұрын
in ComponentDidMount. When your project grows more than some level you need to use redux. becase its hard to keep the state info in a large project.
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Manoj! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@alexandr0id
@alexandr0id 4 жыл бұрын
Is there a significance for using functional argument (updater version) with setState() at 5:40? Was it required? I don't understand the explanation at 11:35 about shallow comparison - since we create a new object in our setState() call, the reference is being changed - so why pure component skips updating in this case? Is it because the constant object we pass has the same reference between calls?
@kartiksagar007
@kartiksagar007 4 жыл бұрын
Please share video playlist using React Functional Component + Redux.
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Kartik! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@kartiksagar007
@kartiksagar007 3 жыл бұрын
@@shivanigaddagimath6105 company name and client budget?
@kartiksagar007
@kartiksagar007 3 жыл бұрын
@@shivanigaddagimath6105 plz share the JD to kartiksagar007@gmail.com
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
@@kartiksagar007 will share the JD tomorrow Kartik! Thanks for the response!
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
@@kartiksagar007 will mail all the details to your mail ID.
@gnasamx
@gnasamx 6 жыл бұрын
make more videos with this same detailed explanation 👍
@Techsithtube
@Techsithtube 6 жыл бұрын
Just released a video on react-router. Please check it out. Thanks for watching!
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Ganesh! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@erlanerlan7739
@erlanerlan7739 6 жыл бұрын
where were you???? Im trying to learn this react month.... you are great man..
@Techsithtube
@Techsithtube 6 жыл бұрын
I am glad that you found the tutorials helpful. Thanks for watching !
@erlanerlan7739
@erlanerlan7739 6 жыл бұрын
@@Techsithtube I wanted to tell you one idea. at the end of the course about node.js you can make node.js + react.js short course. that would be greate)
@utkarshgupta1379
@utkarshgupta1379 6 жыл бұрын
Great tutorials. Please make detailed explaination tutorials on some important topics of react
@Techsithtube
@Techsithtube 6 жыл бұрын
Yes Utkarsh i do have an entire series on react , please check it out.
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Utkarsh! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@tambolaking5383
@tambolaking5383 5 жыл бұрын
You applied the wrong check in shouldcomponentmount method. A shallow comparison is required which is extensible. For that it needs to be converted to array and then foreach to be applied to compare.
@apolodu7852
@apolodu7852 6 жыл бұрын
Simple and clear, but I doubt if shalllowCompare compares reference, because it's said in React Docs: "It does this by iterating on the keys of the objects being compared and returning true when the values of a key in each object are not strictly equal."
@gabrielfono844
@gabrielfono844 Жыл бұрын
sir thanks for everything
@sabis.9757
@sabis.9757 5 жыл бұрын
Hi, I was wondering why do we want to NOT do the re-rendering in the first place? In the end, it doesn't change anything in the UI. So, what is the advantage of avoiding redundant rerendering? :)
@Techsithtube
@Techsithtube 5 жыл бұрын
any redundant re-rendering slows things down. That is the power of react.
@indowestlife
@indowestlife 5 жыл бұрын
Can we have a super advanced video on react redux saga and react hooks? Also, the new features in every release would be awesome.
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Aakash! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@iamsmitthakkar
@iamsmitthakkar 6 жыл бұрын
Thanks man! Great Tutorial ! Just one suggestion. I searched a lot for React Testing Tutorials but its very hard to find one. If you can make one with Jest and Enzyme that would be great.
@tkssharma
@tkssharma 4 жыл бұрын
here is one kzbin.info/www/bejne/kIjUl3R6mJJjgZo
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Smit! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@ginzburgi.9251
@ginzburgi.9251 5 жыл бұрын
So the state diffing for the PureComponent is an out-of-the-box functionality. Cool, but how is it accomplished? I'm kind of missing the explanation as to why it behaves like it does and why this behavior is considered pure.
@Techsithtube
@Techsithtube 5 жыл бұрын
Internally it uses memoization
@ruchirai5775
@ruchirai5775 5 жыл бұрын
@techsith - nice tutorial !
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Ruchi Rai! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@cyrusbesabella5938
@cyrusbesabella5938 4 жыл бұрын
thank you sir!
@tonydanza4502
@tonydanza4502 5 жыл бұрын
Most state variables are not so simple, what happens when we’re working with a combination of setIntervals and state variables like objects or arrays of objects that are not equivalent according to the shallow comparison?
@kevinhe7
@kevinhe7 6 жыл бұрын
Very good video. But I have one question about the specifics: so in the case of PureComponent, does React do shallow comparison on the state object OR all the attributes (as values/objects etc) of the state of the component? I suppose it's the latter since as we see in the example with Component, the state objects are different. Am I right?
@Techsithtube
@Techsithtube 6 жыл бұрын
Its actually doing shallow comparison of the state of the object its updating.
@kevinhe7
@kevinhe7 6 жыл бұрын
So shallow comparison means it will iterate through the attributes of those two objects and does comparisons. I see. Thank you.
@Techsithtube
@Techsithtube 6 жыл бұрын
A shallow equality check means that JS only checks that the value’s object ids (as in, the memory address for where JS stores the information for that particular object) are the same, not that their content is the same.
@Techsithtube
@Techsithtube 6 жыл бұрын
React uses a shallow equality check because it is is way more performant than doing a deep equal. In fact, React doesn’t even offer doing a deep equality check. You can do a shallow check (with PureComponent), write your own check (with shouldComponentUpdate), or not check at all and just always re-render (the default). It’s too risky for React to do a deep equality check since you might have really deeply nested data. Instead React errs on the side of not checking and doing the re-render automatically. All if this is generally good news if your component is working with shallow-equality-friendly data. If the state and prop value ids change when their content changes then the components re-render when the should - yay! However, if you don’t handle your data properly, then you can accidentally not re-render when you should
@SubhashKumar-hx6ww
@SubhashKumar-hx6ww 5 жыл бұрын
Good Tutorial !
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Subhash! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@bhad7787
@bhad7787 6 жыл бұрын
Correct me if I am wrong but shouldn't the child component be the one extending PureComponent? Now if the Temp component is reused elsewhere you will have to have to make its parent extend PureComponent again or make its parent use shouldComponentUpdate with more boilerplate code.
@angshuman_halder
@angshuman_halder 6 жыл бұрын
I believe PureComponent will give you the full control over the component itself. So if there is a change in the state or props you have to implement shouldComponentUpdate on the other hand in normal component you don't have to override shouldComponentUpdate because react does it for you. So in a way if you want to have a deep comparison of the states you have to override the shouldComponentUpdate in a PureComponent. Am I right?
@bbbiii2341
@bbbiii2341 3 жыл бұрын
Great Tutorials
@ИльяВеличко-ц5у
@ИльяВеличко-ц5у 5 жыл бұрын
Great, like always!
@DCodingStudio
@DCodingStudio 5 жыл бұрын
Please watch this one as well kzbin.info/www/bejne/aILVq4Gkqt6Dd68 And please share your valuable feedback 🙏
@richardmccormack2486
@richardmccormack2486 6 жыл бұрын
Great job here! :)
@Techsithtube
@Techsithtube 6 жыл бұрын
Thanks for watching Richard!
@gabrielfono844
@gabrielfono844 4 жыл бұрын
thanks so much
@rushivani454
@rushivani454 6 жыл бұрын
Is class component and pure component are same? Pls explain and give instance how class component and pure component and functional component are different. And their functionality
@Techsithtube
@Techsithtube 6 жыл бұрын
Pure components are also class components but not every class components is a pure component.
@SunilKumar-fh6jk
@SunilKumar-fh6jk 6 жыл бұрын
Sir please make a tutorial series on Redux for recact please.
@tkssharma
@tkssharma 4 жыл бұрын
kzbin.info/www/bejne/kIjUl3R6mJJjgZo
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Sunil! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@shrijantripathi
@shrijantripathi 5 жыл бұрын
Suscribed 😊
@Techsithtube
@Techsithtube 5 жыл бұрын
Thanks for subscribing.
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Shrijan! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@shrijantripathi
@shrijantripathi 3 жыл бұрын
@@shivanigaddagimath6105 get connected on Twitter @itsmeshrijan
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
@@shrijantripathi Thanks Shrijan! Will do!
@vallishaik1370
@vallishaik1370 5 жыл бұрын
thankyou
@sunilkumar-zf4dx
@sunilkumar-zf4dx 7 жыл бұрын
Can please make a video on typescript react
@Techsithtube
@Techsithtube 7 жыл бұрын
Sure I will create that.
@ruchirai5775
@ruchirai5775 5 жыл бұрын
@techsith - I have question for you :).I have learnt lot of stuff online first time.You also have learnt these stuff from scratch.How are you able to learn it in such a simplistic way and conceptual way ? I don't think so react official documentation explains you all these things. Untill somebody explains you or you find nice blogs it seems to be impossible to learn in this manner.
@Techsithtube
@Techsithtube 5 жыл бұрын
I look at lots of documentations and then create an example, then keep simplifying it till i cant simplify it any more. that is the trick. :)
@matadev279
@matadev279 5 жыл бұрын
Hello, how are you? I have a youtube channel with a native react course, I would like to redirect them to your channel so that people who see me can have more react fundamentals.
@alishagupta1157
@alishagupta1157 5 жыл бұрын
hi, thanks for tutorial. Pl. give share tutorial on redux and reflection in javascript.
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Alisha! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@syedkashifnaqvi1268
@syedkashifnaqvi1268 5 жыл бұрын
tell us about Reactjs hooks
@DCodingStudio
@DCodingStudio 5 жыл бұрын
Please watch this one as well kzbin.info/www/bejne/aILVq4Gkqt6Dd68 And please share your valuable feedback 🙏
@ehayrapetyan1082
@ehayrapetyan1082 6 жыл бұрын
thank u teacher;)
@orangecoolius
@orangecoolius 6 жыл бұрын
oooooo daddy threw a joke in, hey hey!
@Techsithtube
@Techsithtube 6 жыл бұрын
Dat funny comment :) Me like.
@handsome_man69
@handsome_man69 6 жыл бұрын
you deserve an Academy Award for best tutorialer of the year
@Techsithtube
@Techsithtube 6 жыл бұрын
Felix, thank you for being an awesome fan. Keep learning!
@unmesh002
@unmesh002 4 жыл бұрын
Please upload series on VueJS
@jacko0000
@jacko0000 6 жыл бұрын
Great video.. you got subscribe from me
@dhananjaymenon3601
@dhananjaymenon3601 5 жыл бұрын
Please create a comprehensive udemy course, I will gladly pay for it.
@Techsithtube
@Techsithtube 5 жыл бұрын
Next week I am releasing the react udemy course. I will have an announcement.
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
Hi Dhananjay! Are you looking out for job opportunities in web development currently? We are a web development company and looking to hire! Let me know if interested!
@dhananjaymenon3601
@dhananjaymenon3601 3 жыл бұрын
@@shivanigaddagimath6105 Is this a new recruitment strategy? lol unbelievable
@shivanigaddagimath6105
@shivanigaddagimath6105 3 жыл бұрын
@@dhananjaymenon3601 Haha! Yes, you could say that! We figure we will find the right talent at their learning spots! Thanks for your response!
@dhananjaymenon3601
@dhananjaymenon3601 3 жыл бұрын
@@shivanigaddagimath6105 Interesting strategy! but thanks, not looking for a job right now. Will reply if i am in the future.
@JD-yz8cn
@JD-yz8cn 6 жыл бұрын
I feel like you should've used the `PureComponent` with the same `Math.random()` to see what happens in that scenario.
@Techsithtube
@Techsithtube 6 жыл бұрын
yes i agree, Please also check out react.memo which is a similar feature for functional component. I have a tutorial on that.
@abdulrehmankaimkhani9892
@abdulrehmankaimkhani9892 4 жыл бұрын
nice (Y)
@joshk2181
@joshk2181 6 жыл бұрын
thank you, 6 disappointing articles and 4 disappointing videos later you've actually explained it by the 4:00 mark
@joshk2181
@joshk2181 6 жыл бұрын
gets a sub from me
@Techsithtube
@Techsithtube 6 жыл бұрын
Thanks for watching Josh! :)
@thehaystacker7965
@thehaystacker7965 4 жыл бұрын
just curious to know, what are those disappointing articles and videos?
@muhammadbilal-ur-rehman6809
@muhammadbilal-ur-rehman6809 5 жыл бұрын
You should update your videos according to the new standards of react.
@Techsithtube
@Techsithtube 5 жыл бұрын
there is on option for updating. I already have new updated videos on react, newer videos are updated with hooks.
@ckvinothkumar
@ckvinothkumar 6 жыл бұрын
Please provide some valid examples to avoid pure components .
@Techsithtube
@Techsithtube 6 жыл бұрын
The most practical use is where you have frequent new data , and you need to make a decision to update or not update the state, which ultimately is a cost of updating DOM. pure component makes that decision for you in some of those cases and save you some DOM updates. Auto refresh feature on your cricket scope page is a perfect example.
@Techsithtube
@Techsithtube 6 жыл бұрын
Avoid pure components where your state is deeply nested since pure component does only shallow compare.
@tushar4283
@tushar4283 3 жыл бұрын
Please make short videos........
@naveenpujari8996
@naveenpujari8996 3 жыл бұрын
though i like urs videos. but why u do so many cuts in video similar to pak army videos... they make 1000 cuts in single video... lol
@a.skatariya6337
@a.skatariya6337 4 жыл бұрын
Pahle to ye fake accent band kro..insaan ki tarah mix bread mat bano
React Refs and DOM
21:43
techsith
Рет қаралды 72 М.
React Higher Order Components Tutorial
15:40
techsith
Рет қаралды 79 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
React Component Lifecycle Hooks / Methods
22:02
techsith
Рет қаралды 113 М.
React Typechecking with PropTypes
13:20
techsith
Рет қаралды 34 М.
This Algorithm is 1,606,240% FASTER
13:31
ThePrimeagen
Рет қаралды 861 М.
Beginner React.js Coding Interview (ft. Clément Mihailescu)
36:31
Ben Awad
Рет қаралды 2,2 МЛН
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,3 МЛН
React Hook useRef and forwarding refs with forwardRef
14:46
techsith
Рет қаралды 81 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН