Is there a typo in the section about avoiding FOUC?
If I understand the above correctly, useLayoutEffect will not run until after the DOM has been painted, which would make it the exact same as useEffect, right? Isn't useLayoutEffect run before the DOM has been painted?