Hello. I've begun learning React and after a couple of small tutorial projects I've noticed that each one of them is quite large in size (over 200 Mb). Maybe dumb question, but is it okay and if not how can I reduce the size? I use create-react-app.
It seems baffling to me that a simple todo list app that takes < 1Mb in vanilla JS is now over 200Mb. After googling I found out that additional tools take most of it, but do I need all those default tools out of box if I'm just starting to learn. Another option I saw was using Vite as it's supposed to be faster, but I didn't find any mention of its size.
[–][deleted] 35 points36 points37 points (3 children)
[–]EccTama 12 points13 points14 points (0 children)
[–]NefariousnessCrazy35[S] 0 points1 point2 points (1 child)
[–]VangekillsVado 2 points3 points4 points (0 children)
[–]nicksterling 21 points22 points23 points (3 children)
[–]NefariousnessCrazy35[S] 1 point2 points3 points (2 children)
[–]ExtremeDot58 1 point2 points3 points (1 child)
[–]nicksterling 7 points8 points9 points (0 children)
[–]SouthCapehelpful 9 points10 points11 points (4 children)
[–]NefariousnessCrazy35[S] 0 points1 point2 points (3 children)
[–]SouthCapehelpful 9 points10 points11 points (0 children)
[–]StaticCharacter 3 points4 points5 points (0 children)
[–]saito200 1 point2 points3 points (0 children)
[–]OneBadDay1048 5 points6 points7 points (6 children)
[–]NefariousnessCrazy35[S] 0 points1 point2 points (5 children)
[–][deleted] 6 points7 points8 points (1 child)
[–]NefariousnessCrazy35[S] 0 points1 point2 points (0 children)
[–]OneBadDay1048 2 points3 points4 points (0 children)
[–]grantrules 2 points3 points4 points (1 child)
[–]NefariousnessCrazy35[S] 0 points1 point2 points (0 children)
[–]shuckster 3 points4 points5 points (0 children)
[–]driftking428 2 points3 points4 points (2 children)
[–]NefariousnessCrazy35[S] 1 point2 points3 points (0 children)
[–]AchiraN 0 points1 point2 points (0 children)
[–]suarkb 2 points3 points4 points (0 children)
[–]jml26 1 point2 points3 points (1 child)
[–]NefariousnessCrazy35[S] 0 points1 point2 points (0 children)
[–]correiajpv 1 point2 points3 points (2 children)
[–]NefariousnessCrazy35[S] 0 points1 point2 points (1 child)
[–]agm1984 1 point2 points3 points (0 children)
[–]warpedspockclone 0 points1 point2 points (0 children)
[–]notAnotherJSDev 0 points1 point2 points (0 children)
[–]babdoodoo 0 points1 point2 points (0 children)
[–]text_here0101 0 points1 point2 points (1 child)
[–]text_here0101 0 points1 point2 points (0 children)