getInitialProps () is a great lifecycle to do server/client work before a component gets render. For this purpose, the new life-cycle method getServerSideProps ...
確定! 回上一頁