---
title: "Discussion on \"Demystifying JS Modules\" | Hashnode"
description: "Discussion on \"Demystifying JS Modules\". Hello! Welcome. It's great to have you here!!\nBefore we unpack how JS Modules work, let us first understand why we need modules in the first place.\nWhat are the problems with just using the native JS files?\nEverything is fine when we have a single JS..."
url: "https://hashnode.com/posts/demystifying-js-modules/6468cf41d2981710d9992465"
---

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

Discussion

# [Demystifying JS Modules](https://dssitachi.hashnode.dev/demystifying-js-modules?utm_source=hashnode&utm_medium=feed)

Hello! Welcome. It's great to have you here!! Before we unpack how JS Modules work, let us first understand why we need modules in the first place. What are the problems with just using the native JS files? Everything is fine when we have a single JS...

May 20, 2023 · 7 min read · dssitachi.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#modules](https://hashnode.com/tag/modules)
-   [#module-pattern](https://hashnode.com/tag/module-pattern)
-   [#webpack](https://hashnode.com/tag/webpack)

## Written by

[Dipesh Shivrame](https://hashnode.com/@dssitachi)

@dssitachi · India

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

Frontend Engineer

## Responses 1

Markdown supported · ⌘↵ to post

[Anuj Mistry](https://hashnode.com/@anuj1729)

[May 23, 2023](https://hashnode.com/posts/demystifying-js-modules/6468cf41d2981710d9992465/comment/646c31bce07e1d2187d9496d)

You explained it really good.
