Hacker News new | past | comments | ask | show | jobs | submit login

> React alone and the tooling it requires already gives you about 1400 dependencies

When you throw around FUD like this, can you please also give us some credible sources? You can use cdnjs to get react and react-dom in exactly 2 .js files.




  $ npm install https://github.com/matrix-org/cerulean
  [71 lines of logs]
  added 2371 packages from 808 contributors in 62.487s


heh, that’s because the dev dependencies (prettier and the test suite) have been accidentally added as runtime deps.

but seriously, the amount of deps react has is really not the point i was making on the blog post...

waves arms helplessly


> heh, that’s because the dev dependencies (prettier and the test suite) have been accidentally added as runtime deps.

fixed - thanks akx (and congrats on the first PR to cerulean :D)! https://github.com/matrix-org/cerulean/pull/30


Once built, the only frontend dependency is React. Most of those packages are tooling related to the build process.


> Most of those packages are tooling related to the build process.

So? jiofih's claim was about "React alone and the tooling".



That is visualizing source files _within_ a package, not cross-package dependencies.

Entirely different beasts.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: