使用 `getStaticProps`/`getServerSideProps` 作为 react-hooks
Use `getStaticProps`/`getServerSideProps` as react-hooks