What is React Hooks ? Introduction with a simple example

  Рет қаралды 33,074

techsith

techsith

Күн бұрын

Пікірлер: 68
@anusijo1023
@anusijo1023 5 жыл бұрын
i had a doubt . I asked him. He replied. He is awesome
@Techsithtube
@Techsithtube 5 жыл бұрын
Thanks for the compliment :)
@AmitSingh-mi2ee
@AmitSingh-mi2ee 6 жыл бұрын
Nice and clean introduction on Hooks. Please try to create a series on the complete guide on hooks.
@cpmcmanaman
@cpmcmanaman 4 жыл бұрын
This guy is talented. Patreon here I come. There is so much bad stuff out there. when someone comes along that is this good...I feel like I need to support them so we don’t lose them.
@adamgordon862
@adamgordon862 5 жыл бұрын
Awesome intro to hooks! They've sounded like this mythical thing for a while so I'm glad to have a video to break hooks down
@thakurmahendarsingh3095
@thakurmahendarsingh3095 5 жыл бұрын
Hi Techsith, Thanks for nice simple way of explaining the hooks concept. In hooks in order to change the state of particular input element you have used arrow function to bind the event handler. Binding the event handler on the html elements will lead to creation of the function object on every render. It is the not the best practice which react recommends.
@AlmazovS
@AlmazovS 6 жыл бұрын
Thank you a lot for simple, atomic and transparent example!
@pranshushah6171
@pranshushah6171 6 жыл бұрын
your channel has the best tutorials on javascript and react. hope you cross 100k subs soon!! :)
@Techsithtube
@Techsithtube 6 жыл бұрын
Thanks for the nice wish. I hope 100k subs come soon.
@pranshushah6171
@pranshushah6171 6 жыл бұрын
@@Techsithtube i think you should create real life vanilla javascript projects, it attracts lot of beginners and you can do same for react
@andrewaghoghovwia1948
@andrewaghoghovwia1948 5 жыл бұрын
I love your teachings..you have a firm grip on what you teach
@dnyaneshpatil2480
@dnyaneshpatil2480 5 жыл бұрын
Great videos by techsith. Five star.
@jithunniks
@jithunniks 6 жыл бұрын
Nice introduction to Hooks😀
@Techsithtube
@Techsithtube 6 жыл бұрын
Thanks for the nice comment:)
@rajeevsharma2404
@rajeevsharma2404 6 жыл бұрын
as usual best tutorial 👌
@mandapati_bhavani
@mandapati_bhavani 5 жыл бұрын
Nice video this is the place where we can learn and master in front end technologies. Thanks a lot sith sir
@Techsithtube
@Techsithtube 5 жыл бұрын
thanks mandapati :)
@speedy-b
@speedy-b 4 жыл бұрын
Hey Techsith. Many thanks for your effort to make those lectures possible to understand more easy. Difficult stuff! It reminds me of my first walking steps with Angular. React is more fun, due to the easier learning curve. I appreciate.
@pawenobis5386
@pawenobis5386 5 жыл бұрын
Wow, looks like a new era of React is comming!
@Techsithtube
@Techsithtube 5 жыл бұрын
Its seems so.
@sonalibhagwatkar5979
@sonalibhagwatkar5979 4 жыл бұрын
Nicely Explained ... very nice..
@geethakovoor6549
@geethakovoor6549 4 жыл бұрын
This is just awsome ! This made my react knowledge milestone part!
@mikeshilovski1512
@mikeshilovski1512 5 жыл бұрын
Dude, thank you! wish you a great day
@Techsithtube
@Techsithtube 5 жыл бұрын
Have a great day mike , Thanks for watching!
@billyphillips4835
@billyphillips4835 6 жыл бұрын
My favourite channel on YT!
@lunar-ix9vu
@lunar-ix9vu 6 жыл бұрын
awesome! look forward to .other hook vids!
@Techsithtube
@Techsithtube 6 жыл бұрын
I am working on next videos. thanks for watching!
@hatrick3117
@hatrick3117 6 жыл бұрын
Im on board for a series! Seems like this type of component will became main pretty soon. I hate it for now tbh :)
@Techsithtube
@Techsithtube 6 жыл бұрын
Yes this is the future on react. there is no turning back . So a must learn. will keep making further videos for this series.
@rohanchaudhary2296
@rohanchaudhary2296 6 жыл бұрын
Best React Tutorial on youtube! Please make a video on the deprecated component lifecycles and to be removed in React 17 ie. "componentWillMount", "componentWillUpdate", "componentWillReceiveProps" and new ones "getDerivedStateFromProps" and "getSnapshotBeforeUpdate" .
@Techsithtube
@Techsithtube 6 жыл бұрын
Yes I need to make a new one. Thanks for the reminder. :)
@rohankademani6406
@rohankademani6406 4 жыл бұрын
Best explanation kept it up
@lisovykoleksandr
@lisovykoleksandr 6 жыл бұрын
Thanks a lot! Would be really cool, if You will do next lessons - with lifecycle hooks and Redux integration. And again - thanks for Your work!
@ytadi9229
@ytadi9229 5 жыл бұрын
Awesome Intro. Just a correction. React strongly says that Hooks are not here to replace class based components.
@Techsithtube
@Techsithtube 5 жыл бұрын
lol. it actually is replacing class based components. I have project where i am not using classes at all . What they are saying is that if you have used classes , we will support you if you upgrade to the latest version . Basically, they wont deprecate classes anytime soon. but eventually classes are going to go.
@jiahaoyu855
@jiahaoyu855 5 жыл бұрын
I like those emoji you put in every videos!
@atxorsatti
@atxorsatti 5 жыл бұрын
Great vid! What indent highlighter do you use?
@xerotolerant
@xerotolerant 6 жыл бұрын
Hooks look dope. I thought it was weird that something like react was so bound up with 'classes' since Javascript doesn't actually have classes. Can't wait for it to crystallise and become the standard way of doing things.
@Techsithtube
@Techsithtube 6 жыл бұрын
I am hoping that React would release a stable version on hooks soon.
@saurabrakshit405
@saurabrakshit405 2 жыл бұрын
Sir Why didn't you made vdo on useCallback hook , I want to learn it from you .
@ruchirai5775
@ruchirai5775 5 жыл бұрын
Why hooks are made to replace classes ? What problem does it solve ?I went say some of the blogs but they are explaining it in a very complex way :(
@Techsithtube
@Techsithtube 5 жыл бұрын
classes were invented for object orients programming, JavaScript follows more functional programming paradigm, JavaScript has classes but they are not real classes, its just make it looks like classes. JavaScript you want to do composition and not inheritance. that is why react decided to go hooks way which allows you to o composition . composition means creating object with multiple things rather than following strict inheritance which we know doesnt work well.
@itmarkconsultancy
@itmarkconsultancy 5 жыл бұрын
Thank you :)
@Techsithtube
@Techsithtube 5 жыл бұрын
Thanks for watching Usman
@MrPDTaylor
@MrPDTaylor 6 жыл бұрын
Love the channel!!!!! Keep it up please!!!!!
@rolandmesaros6941
@rolandmesaros6941 6 жыл бұрын
It's easier to use redux with hooks or with components? I mean I'm still confused by redux, so this makes it easier or more confusing?
@yekaterinabindyuk9035
@yekaterinabindyuk9035 5 жыл бұрын
Great content as usually
@kamrandvr4045
@kamrandvr4045 5 жыл бұрын
thank you so much
@mrtarunnagpal
@mrtarunnagpal 5 жыл бұрын
Awesome explation, Can you please guide me where to go next?
@velmurugan.personel
@velmurugan.personel 6 жыл бұрын
Nice one @ techsith...
@dwipayantripathy3966
@dwipayantripathy3966 6 жыл бұрын
Dear Sir, Your tutorial is very good to understand javascript and other things. but i don't think that react hook is the replacement of class. If so then how can we bind the methods in constructor? suppose its required to bind the method to the constructor. Please i need some information on this Thank you very much for the great explanation on React Hook its really helps.
@Techsithtube
@Techsithtube 6 жыл бұрын
If you use hooks you dont need to use classes and if no class means no constructor. Its more functional way of doing things. as you notice I removed the class from the example
@SedhuRaguraman
@SedhuRaguraman 6 жыл бұрын
can you provide useReducer tutorial
@kensyjolicoeur
@kensyjolicoeur 4 жыл бұрын
wait ( I have a question , can you explain me what's the difference between input.value and input.target.value?), now i start learning react hooks from this playlist. thank you for these video's, you help me a lot.
@Techsithtube
@Techsithtube 4 жыл бұрын
you mean event.target.value , when you have an event on an element like input, you can access the value that you filled in by passing the event property and getting event.target.value from it.
@drlucky5474
@drlucky5474 4 жыл бұрын
Why people always mention about Redux when talking about React? What is the relationship?
@praveenrajkumarchintalapud4595
@praveenrajkumarchintalapud4595 6 жыл бұрын
If possible can you make video on axios
@Techsithtube
@Techsithtube 6 жыл бұрын
Yes I can. Also learn fetch as well
@sunny_singh_rajput8970
@sunny_singh_rajput8970 6 жыл бұрын
@@Techsithtube i can if you want than reply me on sunny.kr.hr@gmail.com
@sudhirdhawan2583
@sudhirdhawan2583 4 жыл бұрын
Should we learn react hooks without prior knowledge of class-based component?
@andrzejmarek7059
@andrzejmarek7059 6 жыл бұрын
small comment ? No, HUGE COMMENT :D
@Techsithtube
@Techsithtube 6 жыл бұрын
Small or huge I appreciate your comments. :)
@usamamirza
@usamamirza 6 жыл бұрын
Please Create a video on react SSR
@JaspreetSingh2701
@JaspreetSingh2701 6 жыл бұрын
Please make a video on 'how to find complexity of a program'?
@Techsithtube
@Techsithtube 6 жыл бұрын
You mean the big 'O' complexity?
@androidgeeking
@androidgeeking 6 жыл бұрын
I hate this syntax. I like classes. GRRRRRR
@CO8848_2
@CO8848_2 5 жыл бұрын
Such ugly kludges are the future? React is doomed then.
React Pure Components Tutorial
13:34
techsith
Рет қаралды 59 М.
useEffect react hook tutorial
15:20
techsith
Рет қаралды 36 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
React Refs and DOM
21:43
techsith
Рет қаралды 72 М.
React Hook useRef and forwarding refs with forwardRef
14:46
techsith
Рет қаралды 81 М.
Introducing React Hooks
20:50
Traversy Media
Рет қаралды 345 М.
useMemo Hook react tutorial
7:38
techsith
Рет қаралды 34 М.
React.js Hooks Crash Course
1:02:54
Academind
Рет қаралды 317 М.
React Memo | new way to Memoize Functional Components
8:30
techsith
Рет қаралды 25 М.
React Lazy Loading & Code splitting
8:10
techsith
Рет қаралды 100 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН