Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
hinst13155yReact is a large framework so it uses a lot of space... Build tools are probably also in there. You can use Preact (a lightweight version of react) but choose wisely (consider the consequences before making such decision)
-
inaba46255yIf you're not developing the project rm -rf the node_modules if you need the space. If you're still developing and need the space buy an external drive and put your hentai on that. And if you reach space problems again, use something like rdfind and harlink that shit bruh
-
Voxera115855y@hinst node modules is not part of react. React uses node modules.
The reason node modules are so big is that it defaults to download very much. -
If you are working on only one project at a time, you can create-react-app only once and create multiple apps inside it, just change the webpack file accordingly, after development, take the build out and use it.
-
@Root haha, mehn but unfortunately we're stock with it and funny enough is no matter how much one dislikes it, you gotta need to use it eventually.
Hey guys, is there an easy way to avoid having all that bunch of stuff node_module comes with when you create a React project. Shit consumes more that 200mb on the fly. Do I fucking need all that stuff packed inside node_module?
question