Why I Stopped Using useEffect in My React Components

Pubblicato il: 27 aprile 2024
sul canale di: LifeLoveAndMonads
806
21

I was guilty of over using useEffect in the past and I am sure a lot of you also done that. In this video I walk through some of the challenges from the article: https://react.dev/learn/you-might-not... that I recommend you to read after the video since I might have missed some use cases of when you do not need useEffect.

If you want to discuss the details, you can find me on Discord:   / discord  

0:00 Intro
0:37 Data transformation without using useEffect
3:38 Data caching without using useEffect
5:34 Reseting state based on changed props without useEffect
7:36 You don't always need useEffect for using fetch


In questa pagina del sito puoi guardare il video online Why I Stopped Using useEffect in My React Components della durata di ore minuti seconda in buona qualità , che l'utente ha caricato LifeLoveAndMonads 27 aprile 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 806 volte e gli è piaciuto 21 spettatori. Buona visione!