6

Learning ReactJS... I come across this and I run it:
npx create-react-app my-app

Suddenly, 5 trillion packages are installed.

LoL

Comments
  • 3
    I felt the same way when I saw that node_modules folder when using create-react-app lol
  • 3
    Javascript moment

    Is there a single JS framework that isn't shot to hell with dependencies for doing basic things?
  • 1
  • 0
    @lessi even a blank demo project balloons to 700 packages. Is there any way to check if any of them go un-used and can be removed?
  • 1
    You can set it up yourself with custom pipeline web pack etc… but you know… unfortunately you need to configure a lot of things. But to be honest once you go bare you never go back.
  • 1
    When I first started learning React, I created a new react project using npx, and was absolutely blown away that the boilerplate was >100mb. It's bloody unreal.
  • 0
    @bigmonsterlover you are referring to create-react-app not the library react. In the early days, you can just import react/react-dom in codepen and then inject components into html div. I bet you also get a bloated node-module when you work on web component project with lit. Cra is dead BTW. Everyone moved to vite/nextjs/remix
  • 0
    @bigmonsterlover a library of Bloat.
Add Comment