---
title: "Discussion on \"NextJS: Reserved filenames in the app folder\" | Hashnode"
description: "Discussion on \"NextJS: Reserved filenames in the app folder\". page.js is the main entry point for each folder.\nlayout.js contains the wrapping layout. if we don't provide one, the autogenerated layout.js in the root app folder is used.\nhead.js used to customize the head of the page - metatags, title etc.\nerror...."
url: "https://hashnode.com/posts/nextjs-reserved-filenames/650bf8f66b0ed5715b54d06c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [NextJS: Reserved filenames in the app folder](https://vajr.hashnode.dev/nextjs-reserved-filenames?utm_source=hashnode&utm_medium=feed)

page.js is the main entry point for each folder. layout.js contains the wrapping layout. if we don't provide one, the autogenerated layout.js in the root app folder is used. head.js used to customize the head of the page - metatags, title etc. error....

Sep 21, 2023 · 1 min read · vajr.hashnode.dev  
Read the article

-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#javascript-framework](https://hashnode.com/tag/javascript-framework)

## Written by

[𑀲𑁅𑀭𑀪](https://hashnode.com/@vajr)

@vajr

  
[View profile](https://hashnode.com/@vajr)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
