Fun with React Hooks - Michael Jackson and Ryan Florence
HTML-код
- Опубликовано: 3 май 2019
- Michael and Ryan from ReactTraining.com will give a joint presentation covering hooks and some of the concepts from their training.
Deepen your fundamental understanding of React's composition model and dig into some advanced, real-world use cases like animating route transitions, manage data caching, and real-time updates.
We'll also be covering React's latest feature, hooks, in depth. Hooks promise to simplify your React code and make building clean, reusable abstractions easier and faster than ever.
I really loved the MJ's part. He nailed the best selling point of hooks--composition. Thank you guys .
Amazing presentation! First 20 minutes covers the mental modelling of hooks and the next part covers the awesomeness(how it can be composed and be used for almost anything) of it.
This talk is fantastic. Very useful examples on composing custom hooks
Props to Michael for not shortening his first name to Mike
I knew hooks were great before but seeing the composition part just changed my life
Ryan is a talented teacher!
Very informative and fun presentations as usual
Awesome introduction to hooks, thanks.
Michael presentation was awesome.
The amount of shade in this talk from Ryan is hilarious.
Legit first time I've watched someone code in vim.
@@thallesmanjaterra8485 no
@@user-ql4hi5hm1d why not
His confidence is next level 👍
The Michael part was a serious eye-opener for me.
you probably dont give a damn but does any of you know a trick to get back into an instagram account..?
I was stupid lost my login password. I appreciate any tips you can give me!
@Chandler Moshe Instablaster ;)
@Achilles Arturo i really appreciate your reply. I got to the site thru google and im waiting for the hacking stuff atm.
I see it takes quite some time so I will reply here later when my account password hopefully is recovered.
@Achilles Arturo It worked and I finally got access to my account again. I'm so happy:D
Thank you so much you saved my ass !
@Chandler Moshe no problem xD
if you put the ++ in the backend then it ... but if you put it in the frontend it returns also the value. Great terminology! :D
Source code of all speakers? Particularly the second one with the calendar thingy 😍
Nobody:
Someone teaching React: Look at this COUNTER
Dq can
It's kind of sad that audio in Michael's part is not synced with video :( Still watched tho, awesome job guys!
Yeah, bummed that I missed that during editing :/ I don't really want to replace the video though since it'll get a new URL.
@@dceddia please upload and give url in description of this video
If you can manage to open this video in VLC, than you can adjust the audio delay to around -1300ms, then it syncs up.
@@dceddia create a new video with a new title url etc.
Awesome
"tuplé" I've lost on it
That syntax theme is amazing. What's it called? (Great presentation and all.. :) )
Oh my god, I always forget that if you move the double plus' before the variable name it adds one and returns the value. lol
Then you should recheck infix, prefix(this one) and postfix (the ones we've been using) notations
Then you should recheck infix, prefix(this one) and postfix (the ones we've been using) notations
Ryan has explained very well about react hooks which might solve the bug of re-rendering of useState while used with useeffect. Thanks Ryan 🙌
Did you catch the bug that slipped in the hooks version?
So subsribetopost does not call the callback when cleaned up? Because that will be setState on unmounted component a.k.a memory-leak.
I wonder how many people in the audience got what he's saying... Because it took me about a year to really get what he's sowing there lol :D
Examine me chat: Hooks are a way of sharing stateful logic before hooks the patterns for sharing stateful logic were HOC's and render props but they had their drawbacks and weren't as clean as hooks. This is how I understand it.
Kick a$$ presentation
I am just learning front end, I wish I will be that fast on my keyboard and text editor one day
he uses vim which makes text editing so much faster
We just left Redux and implemented React Hooks only!!
I heard that one when new Context API was introduced, and Redux is still around
@@chethelesser if you are already using redux at production level, dont leave and refactor for hooks. But any new projects at this point are questioning if redux is needed.
Context can not replace redux until you can subscribe to partial state changes.
cool
I came here for a moonwalk, and I left very dissapointed.
46:23 umm the function could be shorten...
46:30 also the return ...
46:48 wait... you can replace the arrow func with one param by the func name only????????
47:00 what's going on in that one line of code...
BIG WOW
SetState actually seems more like magic than hooks to me.
I clicked thinking this had something to do with the singer Michael Jackson, lmao.
Me too! I thought to myself "what does programming have to do with Michael Jackson?" 😂
hee heee!
Neptune Michael ??????
May this encourage your faith
facebook.com/esther.chester77/videos/1029971633787995/
ruclips.net/video/mIxKl9KYwNU/видео.html
m.facebook.com/story.php?story_fbid=2582272895211292&id=490097534428849
m.ruclips.net/video/EE2sJ-WIfts/видео.html
ruclips.net/video/Qw2hwcocVvM/видео.html
m.facebook.com/story.php?story_fbid=777934336005747&id=100013675634259
12:27 Yes, but actually no. When you do ++x it adds 1 to x and evaluates to its previous value. x++ is the same except it evaluates to the new value of x.
For example:
console.log(x++);
is the same as
x = x + 1;
console.log(x);
and
console.log(++x);
the same as
console.log(x);
x = x + 1;
Nope, it's the opposite.
Why is Ryan so cool?!
Nothing useful from his part, just a default hooks introduction
is there a source code somewhere i can check?
{2022-03-16}
I thought this was a video of Michael Jackson, The King of Pop ®, coding 😐
Where is Michael Jackson?
"How do you think French people write their code!? " .... "in English.."
In Video title: Michael Jackson 🕴🏻In Video content: Satya nadella 👨🏻💻
Oh that crap MacBook Pro keyboard... the sound is so annoying
The guy in the background is trying way tooo hard
This is all just Monads lmao.
Yeah be these are all JS developers lmao
@@roselpadilla \x -> lmao
Spected some hee hee's, very disapointed
just painful to watch a vim user holding j and k to scroll tens of lines down and up, please use ctrl+d ctrl+u instead. otherwise excellent presentation...
But then only I know where I jumped to and not the audience. There is a difference between presenting and coding by yourself. But solid vim tip otherwise :)
I prefer Angular :) You guys write functions and call it Hooks... damn Stoneage coders.
First understand what is a hook and how it's used and then talk thick boy
Because you don't know why the word hook is used. If you prefer angular then it's good but don't just speak rubbish
Hooks and Components are not just functions.
Watched the first twenty minutes.. gained nothing 👎
Nice try, Dan
We have processed your refund.