J-oin The Discord! →
VSCode Theme | Font → Material Theme Darker | Menlo, Monaco “monospace“
Let’s talk about useEffect in React for a bit. There is a real problem with useEffect that we, as React developers, need to address. useEffect doesn’t make it easy for us to follow its rules correctly, and that usually leads to developers taking shortcuts and shipping bugs in production. The rule is this: anything that is used in the useEffect is considered a dependency and has to go in the dependency array. It’s the rule. If you have to wrap the dependency in a useMemo or useCallback, then you have to do it. Don’t ignore it like many developers do and don’t disable eslint! It’s going to come back and get you later!
1 view
316
64
4 months ago 00:03:24 1
Falling In Reverse - “Watch The World Burn“
4 months ago 00:03:52 1
Одуванчик – лучший сорняк от жира в печени и других проблем 🔥
4 months ago 11:54:56 1
Mozart Effect Make You More Intelligent | Classical Music for Studying Concentration and Brain Power
4 months ago 01:09:10 1
40 The Bruce-Partington Plans from His Last Bow: Reminiscences of Sherlock Holmes (1917) Audiobook
4 months ago 00:30:30 1
Green Tara Mantra | Om Tare Tuttare Ture Soha | 綠度母 (多羅菩薩) 心咒
4 months ago 01:55:59 1
Is It Time For Gay Pride To Go Away? - Josh Szeps
4 months ago 01:29:10 1
The Hidden Dangers Of Social Media - Jonathan Haidt
4 months ago 01:42:31 1
Scientists CAN’T Explain Why This Audio HEALS People - Alpha Waves Heals the Whole Body - 528Hz
4 months ago 01:17:04 2
И19: И. В. Оселедец | AIRI, искусственный интеллект, ChatGPT, H-Index, математика и визы в Европу