I guess I was thinking of useEffect(fn, []) as a rough substitute for getInitialProps from Next.js. Since getInitialProps is used for SSR, I was surprised to ...
確定! 回上一頁