---
title: "Discussion on \"How to use native ES modules\" | Hashnode"
description: "Discussion on \"How to use native ES modules\". This article will present examples of ECMAScript (ES) modules—what you can achieve with them and where you will hit some limitations. All browsers released after May 2018 support ES modules, so you can assume they are safe to use in most cases.\n\nsour..."
url: "https://hashnode.com/posts/how-to-use-native-es-modules/61c2ed6f8614531beb60b337"
---

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

Discussion

# [How to use native ES modules](https://how-to.dev/how-to-use-native-es-modules?utm_source=hashnode&utm_medium=feed)

This article will present examples of ECMAScript (ES) modules—what you can achieve with them and where you will hit some limitations. All browsers released after May 2018 support ES modules, so you can assume they are safe to use in most cases. sour...

Dec 22, 2021 · 5 min read · how-to.dev  
Updated Dec 28, 2021  
Read the article

## Written by

[Marcin Wosinek](https://hashnode.com/@marcin-wosinek)

@marcin-wosinek · Valencia, Spain

  
[View profile](https://hashnode.com/@marcin-wosinek)

JavaScript developer

I'm JS developer with 13 years of professional experience. I'm always happy to teach my craft.

## Responses 1

Markdown supported · ⌘↵ to post

[Georg Jähnig](https://hashnode.com/@j0rges)

[Dec 22, 2021](https://hashnode.com/posts/how-to-use-native-es-modules/61c2ed6f8614531beb60b337/comment/61c3a8392d88363ed4ea9f67)

Thanks for your informative overview! Isn't one argument against using those "modules" the fact that you end up having too many HTTP requests (one for each JS file), thus a longer initial loading time? I also started with first using them in my [Trovu](https://github.com/trovu/trovu-web), but then ended up using the Rollup bundler, to have only one JS file being requested.

[Marcin Wosinek](https://hashnode.com/@marcin-wosinek)

[Dec 23, 2021](https://hashnode.com/posts/how-to-use-native-es-modules/61c2ed6f8614531beb60b337/comment/61c3a8392d88363ed4ea9f67#reply-61c4332bc0206b3f41f555b6)

Good point! That's the biggest reason to add bundlers to the mix. You want to use ES modules syntax but limit HTTP requests on the production.
