---
title: "Discussion on \"How I Escaped Refactoring Hell with Dynamic Imports (NodeJS x NPM)\" | Hashnode"
description: "Discussion on \"How I Escaped Refactoring Hell with Dynamic Imports (NodeJS x NPM)\". Big Ideas:\n\nLegacy code may need refactoring as dependencies start leveraging ES Modules\n\nAvoid changing an entire application over to ES Modules w/ Dynamic Imports\n\nDynamic Imports can reduce code refactor size dramatically\n\n\nThe Story:\nLet's set th..."
url: "https://hashnode.com/posts/how-i-escaped-refactoring-hell-with-dynamic-imports-nodejs-x-npm/63ff767b819f4ba5f483f6fc"
---

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

Discussion

# [How I Escaped Refactoring Hell with Dynamic Imports (NodeJS x NPM)](https://whitecx.hashnode.dev/how-i-escaped-refactoring-hell-with-dynamic-imports-nodejs-x-npm?utm_source=hashnode&utm_medium=feed)

Big Ideas: Legacy code may need refactoring as dependencies start leveraging ES Modules Avoid changing an entire application over to ES Modules w/ Dynamic Imports Dynamic Imports can reduce code refactor size dramatically The Story: Let's set th...

Mar 1, 2023 · 5 min read · whitecx.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#npm](https://hashnode.com/tag/npm)
-   [#es6](https://hashnode.com/tag/es6)
-   [#commonjs](https://hashnode.com/tag/commonjs)
-   [#node](https://hashnode.com/tag/node)

## Written by

[Christian Bates-White](https://hashnode.com/@ChrolloB)

@ChrolloB

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

Software Developer - Thinking is my hobby

Languages: C++, Typescript, Javascript, C#, Python, Solidity, Kotlin Favorite Stack: NodeJS + Postgresql Cloud: AWS, Heroku I'm a software engineer at The College Board I love finding topics and problems that put me at the edge of what I understand. The euphoria of connecting the dots on new technologies is something I'm constantly chasing!

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
