Next.js Pertanyaan dan Jawaban Wawancara
Question: What is the purpose of the '404.js' file in the 'pages' directory?Answer: The '404.js' file in the 'pages' directory is a custom 404 error page. It allows you to define a React component that will be displayed when a user accesses a non-existent route. |
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: