You forgot to add a clean up function in:- Like this useEffect(()=>{ window.addEventListner("scroll"...) return () => { window.removeEventListner("scroll")} },[])
One video on context api
Scroll listener without throttling ☠️
Please make whole video series on javascript and React, because how you are explaining the code flow,no one tell like this,please make video on javascript first.
Brother I need more video on react from your side Keep uploading
Hey Sandip, I saw all your videos and they are really helpful, but can you please make a video for freshers as I think your videos are for 3yr+ of experience person. Thanks ☮️
U should remove the listener in cleanup in useeffect
Super ❤
Normally, in react hooks like useState () const is used on variables that won't be changing. But we reassign value to the variable using the function ,eg. useState (count,setCount) , since count is const variable so why it is allowed to reassign the value to count using setCount
If the question is about custom hook then I think ur example is bit complicated, something simple can be done like usePrevious
You forgot to unmount event Lister
great video
This looks just like another component. What is the difference between component and HOOk. Because hooks generally provide us a value and a function to play with.
Great video brother 🔥🔥 which vs code theme are you using ?
Do you have a video on React using GraphQL?
algun heroe que me diga el tema y la fuente por favor
Hey bro, what vs code theme are you using? it looks beautiful
Uselayouteffect
Font and theme name please??
@cajotafer