The useEffect hook in React 18 has a peculiar behavior.
As we all know, The useEffect hook is called after the screen is rendered. A flickering effect will occur if the client notices the mutation.
Alternatively, We can emulate the componentDidMount lifecycle function by using the useEffect Hook and provi...
khansa.hashnode.dev3 min read