A Complete Guide to use Effect

Dan Abramov's take on how to correctly use the useEffect hook in functional React.js.

It would also be an incomplete list without citing work by Dan Abramov. This article from 2019 on useEffect() is simply a must-read. Dan describes why and how to refactor class components and lifecycle methods like componentDidMount to functional components with hooks. Beyond the official React.js documentation, this is a great place to start if you're interested and learning modern React with hooks.

Comments