Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
RememberMe1404311dSome of my starting auto generated projects weigh in at a few gigabytes :p (not web though)
266mb is nothing for dev
RememberMe1404311d@frogstair that's like... nothing. If it works fast enough for you to work with it, it shouldn't matter at all. If you get increased productivity by using a library that takes a ton of space that you can afford anyway, do it.
Plus, bundled and minified react apps are decently small and fast.
theuser523611dWelcome to the npm dependency tree. A production hello world react app should be around 30kb minified and gzipped
Well you're basically installing an entire IDE into your node modules. Compilation, static analysis and other features and tools for multiple programming languages, error overlays and integrated web servers to power stateful hot reloads and much more.
If you just want to play around with it,
- don't use a build setup at all (just go with a single index.html, can use MS Word if you want)
- use a lightweight build setup like Snowpack or Vite
- use an online editor like CodeSandbox, CodePen, Glitch...