5
n1cK1337
22d

"This happens because ES module import statements result in an object with immutable properties while CommonJS require calls result in an object with mutable properties (for the reasons already described above)." 🤮

Comments
  • 2
    Solution: Don't use cjs.
  • 2
    yeah they really fucked everything up with that

    people complained about node.js until the complainers made it worse

    turns out just because you can complain doesn't mean anyone should give you any authority over decisions just because of it
Add Comment