UseEffect and its class-based equivalent lifecycle methods
Jun 9, 2022 · 5 min read · Introduction We all know that the components in React undergo three main phases namely - mount, update & unmount. The mount phase is when a component initially renders on the screen for the first time. The update phase is when a component prop or st...
Join discussion