Комментарии:
Woe, I needed this a couple days ago
Ответитьgreat
ОтветитьIs this hook can help with the empty state i'm tired of showing loading when an array of object is empty when refreshing the page
ОтветитьThank you! ))) love)))
Ответитьreact is such a bad library. JSX is fine because it's a cleaner way to write HOF but react itself is complete waste of time.
ОтветитьThis is what I needed to know, a component will mount hook..... Am I correct?
ОтветитьVery useful information...
ОтветитьIf I'm loading data via a fetch request to display it in the DOM is it better to use useLayoutEffect or useEffect ?
ОтветитьHey whats the point of an empty useeffect ( only run once)? Why not just run the code without that function?
Ответитьやばい
ОтветитьIs this also the best technic to use when trying to render skeleton for components?
ОтветитьDon't forget manipulating the DOM is usually a bad practice. There are exceptions, but normally you would change your component data that controls the rendered markup
ОтветитьAs a Dev working with react for a long time I didn't even know this existed lol
ОтветитьBy the way, callback in useLayoutEffect is synchronous(block rendering while executing), and the callback in useEffect is asynchronous(non-blocking)
ОтветитьWhy not Angular?
Ответитьlearned about this for the first time trying to use a third party component api-reference
ОтветитьYou just solved a problem I’ve been trying to solve for the past days. 🤩 This will reduce my code a lot. Thanks!
ОтветитьWow. I always learn something on every single video I watch from this channel. Great work!
ОтветитьSo I guess this is React.js related? Your channel covers everything from Vanilla to various libraries so that's kind of important information to have SOMEWHERE (title, description, the video itself).
Ответитьexcellent!
ОтветитьYeah! Moar delicious react tips pls!
ОтветитьI want to marry Kyle....
ОтветитьCan you drop your full course of js udemy please...
ОтветитьGood video terrible title
ОтветитьI love these shorts because you learn something in no time 😂😂
ОтветитьWow perfect timing I was just thinking about this question lmao 👍👍
ОтветитьReact.js? It still lives?
ОтветитьPerfecto im using this. Is it recommended to do ajax requests with layoutEffect, or its best to first paint something on the screen
ОтветитьHad to watch it twice. There was some handsome guy distracting me in the bottom right corner.
ОтветитьI always thought useLayoutEffect runs later. Lovely shorts
ОтветитьAlt+f4 makes you take a pause from work
ОтветитьWow! Little earler I learn base React synax and now I can read that code. Amazing!
Thanks for your tips!
You are incorrect. UseEffect also runs before the actual render to the browser dom.
ОтветитьReact only. Not applicable to people using Angular, Vue, Svelte, or others.
Ответитьشكرا المبسط العظيم
ОтветитьMan reacts naming conventions are truly the worst and ugliest shit ever, they're so obscure and poorly defined.
Ответитьyour explanation is simple and understandable , can you add explanation video about samevaluezero algorithm in javascript.
ОтветитьVery well, thank you. What would be the order of execution of useLayoutEffects in nested components?
ОтветитьThanks, Kyle
Ответитьthat's amazing!
ОтветитьThank you
Ответитьi didnt even know that we hae uselayouteffect :D
ОтветитьBest explanation
ОтветитьGreat explanation but this just proves how dumb React really is
Ответитьvery simplified
Ответитьwow was this always this simple ? .
ОтветитьVery helpful 👌👌
ОтветитьHow to value such content? You’re awesome!!
Ответить