Investigate: How big are react apps?
task id: how-big-are-react-apps2024-07-03 19:45: Creating task to investigate size of react apps. #demo-react-UI #how-big-are-react-apps
2024-07-05 08:11: Try to look into this today #how-big-are-react-apps
2024-07-06 19:20: Sliders React demo is currently 600kb #how-big-are-react-apps
Did this by running npm run build
then examining size of "build" directory.
By comparison, my vanilla JS project was only 12kb.
One of my concerns with building a react app is that if I host these on my droplet, it's going to clog things up in and take space. What I want to know is: when I go through the process of minifying and exporting the code, how much space does it end up being? What goes into uploading and running this on my webserver?
My other concern (which I'm trying not to think about too hard about) is: my website is 99% static, and introducing JS could mean adding an attack surface to my website. Probably just being paranoid.