---
title: "Ahmed Elhady (@th3h4dyy) | Hashnode"
description: "I'm Ahmed, A Software engineer who's focused on building and maintaining web applications. Read the latest articles by Ahmed Elhady on Hashnode."
url: "https://hashnode.com/@th3h4dyy"
---

@th3h4dyy

# Ahmed Elhady

@th3h4dyy · Egypt · Joined December 2022

I'm Ahmed, A Software engineer who's focused on building and maintaining web applications.

## Comments

[Sometimes these problems rise because of some differences between CJS and ESM when it comes to use .mjs -- see the difference from here: https://nodejs.org/docs/latest/api/esm.html#esm\_differences\_between\_es\_modules\_and\_commonjs People still shy from the .mjs and they use babel or typescript to get interoperability between the two types of modules. I think it's the future, but, for now, they use the .js and allow for ESM in their code base in whatever method is available.](https://hashnode.com/posts/what-really-happens-when-we-require-a-module-in-nodejs/63a8f90a1ba9a9c0dc2a6927/comment/63a924878de4e0eeae64f01d#reply-63a9800db1011ed9ec6d44cb)

Reply · Article · Dec 26, 2022 · [What REALLY happens when we require() a module in NodeJS?](https://hashnode.com/posts/what-really-happens-when-we-require-a-module-in-nodejs/63a8f90a1ba9a9c0dc2a6927)
