---
title: "Discussion on \"File Based Routing In Next Js\" | Hashnode"
description: "Discussion on \"File Based Routing In Next Js\". Next.js uses file-based routing. As we can understand from the term “file-based,” it means that the routing is based on files. In React, we usually define routes by importing the library called React Router DOM. However, Next.js provides us with defa..."
url: "https://hashnode.com/posts/file-based-routing-in-next-js-b7f8c26f0e09/6688ff927b9e79fe4710fcec"
---

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

Discussion

# [File Based Routing In Next Js](https://lokiislazy.hashnode.dev/file-based-routing-in-next-js-b7f8c26f0e09?utm_source=hashnode&utm_medium=feed)

Next.js uses file-based routing. As we can understand from the term “file-based,” it means that the routing is based on files. In React, we usually define routes by importing the library called React Router DOM. However, Next.js provides us with defa...

Jan 2, 2024 · 3 min read · lokiislazy.hashnode.dev  
Read the article

## Written by

[Lokesh Singh](https://hashnode.com/@Lokiislazy)

@Lokiislazy · India, Haryana

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

My name is Lokesh, and I am a 21-year-old developer from India. I am passionate about developing applications and solving real-life problems. I also contribute to open source.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
