3 ms·
These are react's dependencies: https://www.npmjs.com/package/react https://www.npmjs.com/package/react This repo is proof of nothing and I'm tired of reading
by scrollaway 6y ago
These are react's dependencies:
https://www.npmjs.com/package/react https://www.npmjs.com/package/react
This repo is proof of nothing and I'm tired of reading those knee-jerk takes. You can't say "react's toolchain is a mess" and "prove" it with a repo that has zero toolchain, no JSX, etc. It's a bit saying "vlc is so bloated!" to someone showcasing "a video player in 30 lines of QML" with no play/pause button.
Not to detract from the rest of your post, the core concept and primitives are great. Would you like them served up in a NPM micro-dependency, maybe? You'll just … add JSX, babel etc separately, will be missing half of react's features like hooks etc and will still have as many dev dependencies as before.
- jharger 6y agoIt could be that this sort of thinking contributes to the massive number of JS frameworks out there. You think React is bloated, so you make a "React in 70 lines" ... realize there's some things you missed... fast forward to two years later and you've got another framework.
- dvtkrlbs 6y agoThis is not the whole story though react is kinda useless without its tools. A fair argument would be if create-react-app had so little dependencies. But i agree with you react itself is not bloated but in general the whole webtooling is.
- scrollaway 6y agoIf react is useless without its tools then what is this submission for in the first place?