News for hackers. Stuff that matters.
Re:Bundle Phobia: find the cost of adding an npm package to ... by Yokohiii on Monday December 18, 2017 @01:42PM (#15954073)
Wouldn't it make more sense to optinally add all dependencies?
Re:Bundle Phobia: find the cost of adding an npm package to ... by pastelsky on Monday December 18, 2017 @02:45PM (#15954779)
If you're the author of `react-button`, it wouldn't make sense to add `react` + `react-dom` to account for it's size. In most cases, peer dependencies are already present in the user's projects.