|
|
|
|
|
by tehbeard
1620 days ago
|
|
> You assign the dependency to a variable and that's it erm, how is that any simpler than `export const/function/class $defintion` ? I guess if you only touch JS once in a blue moon it's difficult to remember? Also CommonJS has some acknowledged issues around cyclic dependencies, and being incredibly fudgeable at runtime that makes static analysis and linting a pain. |
|