---
title: "Discussion on \"Named Export vs Default Export in ES6\" | Hashnode"
description: "Discussion on \"Named Export vs Default Export in ES6\". ES6 provides us to import a module and use it in other files. In React one can use stateless components in other components by exporting the components from their respective modules.\nES6 provides two ways to export a module from a file: named export ..."
url: "https://hashnode.com/posts/named-export-vs-default-export-in-es6/64aab2df963a2afca09661fa"
---

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

Discussion

# [Named Export vs Default Export in ES6](https://vishuraj.hashnode.dev/named-export-vs-default-export-in-es6?utm_source=hashnode&utm_medium=feed)

ES6 provides us to import a module and use it in other files. In React one can use stateless components in other components by exporting the components from their respective modules. ES6 provides two ways to export a module from a file: named export ...

Jul 9, 2023 · 2 min read · vishuraj.hashnode.dev  
Read the article

-   [#named-export](https://hashnode.com/tag/named-export)
-   [#default-export](https://hashnode.com/tag/default-export)

## Written by

[VISHNU KUMAR](https://hashnode.com/@vishuraj2427)

@vishuraj2427

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

Deep dive into Whatever You learn...

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
