1 | initial version |
Using notFound() in Next.js version 13.2.4 does not affect the functionality of the back button in the browser. The notFound() function simply returns a 404 status code and displays a custom 404 page when a user navigates to a non-existent page. The browser's back button will still display previous pages in the user's browsing history, regardless of whether notFound() has been used or not.