useEffect-vs-useLayoutEffect Created with CodeSandbox https://codesandbox.io/s/github/bekliev/useEffect-vs-useLayoutEffect