This repository aims to report an issue that occurs when using Next.js 14 with the "src/" folder structure instead of the current Next Route convention using "app/". In certain cases, this configuration may lead to a page loop.
When utilizing the "src/" folder structure instead of "app/" in a Next.js 14-based project, unexpected behavior has been observed resulting in an infinite loop when loading pages. This repository is created with the goal of highlighting and addressing this issue.
To reproduce the problem, follow these steps:
- Clone this repository to your local environment.
- Install dependencies using the following command:
yarn yarn dev
- Open following url in your browser http://localhost:3000