Next.js Pertanyaan dan Jawaban Wawancara
Question: What is the difference between 'getServerSideProps' and 'getStaticProps'?Answer: 'getServerSideProps' fetches data on every request, while 'getStaticProps' fetches data at build time. 'getStaticProps' is suitable for static content that does not change often. |
Simpan untuk Revisi
Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.
Masuk untuk menyimpan bookmark, pertanyaan sulit, dan set revisi.
Apakah ini membantu? Ya Tidak
Most helpful rated by users: