How I Escaped Refactoring Hell with Dynamic Imports (NodeJS x NPM)
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...
whitecx.hashnode.dev5 min read