@rooks/use-isomorphic-effectResolves to useEffect when window is not in scope and useLayout effect in the browser