---
title: "Discussion on \"An important tip while using Node JS\" | Hashnode"
description: "Discussion on \"An important tip while using Node JS\". As you might already know that import and export statements are not supported natively in nodeJS right now.\nThis is what happens if you try running your server code with import statements:\n\nSo currently, we use require to do that job of importing nod..."
url: "https://hashnode.com/posts/an-important-tip-while-using-node-js/5f53e39cfee30a7c48c0a8d3"
---

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

Discussion

# [An important tip while using Node JS](https://milan.hashnode.dev/an-important-tip-while-using-node-js?utm_source=hashnode&utm_medium=feed)

As you might already know that import and export statements are not supported natively in nodeJS right now. This is what happens if you try running your server code with import statements: So currently, we use require to do that job of importing nod...

Sep 5, 2020 · 1 min read · milan.hashnode.dev  
Read the article

-   [#node](https://hashnode.com/tag/node)
-   [#expressjs-cilb5apda0066e053g7td7q24](https://hashnode.com/tag/expressjs-cilb5apda0066e053g7td7q24)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#web](https://hashnode.com/tag/web)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Milan Gupta](https://hashnode.com/@_milangupta)

@\_milangupta

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

UI Engineer | React

I'm a professional UI developer with 4+ years of experience in React and React Native. Loves to setup and build things from scratch.

## Responses 1

Markdown supported · ⌘↵ to post

[Luiz Filipe da Silva](https://hashnode.com/@luizfilipezs)

[Sep 5, 2020](https://hashnode.com/posts/an-important-tip-while-using-node-js/5f53e39cfee30a7c48c0a8d3/comment/5f53e764fee30a7c48c0a8fa)

Nice tip to know! Thanks for sharing 😉
