Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(router): clarify dynamic route slug is about a file name, not "f…
…older" (#56596) ### What? Update documentation on dynamic routing to clarify the use of segment names within file names, rather than referring to them as "folder names". ### Why? The original documentation used the example term `folderName` when it was referencing dynamic segment names within filenames. The paths being described here are file names but not folders, and end in a file extension. This could confuse readers and developers, especially those new to Next.js, leading to potential misunderstandings and misconfigurations. Perhaps folderName was a relic of a different example wrapping a folder name to do a nested path or other configuration? But here it seems out of place. ### How? - Reviewed the provided documentation sections on dynamic routing. - Replaced references to "folderName" with a different term "segmentName". - Ensured the examples provided in the documentation correctly showcase the use of segment names within filenames.
- Loading branch information