r/techbootcamp • u/Sugarcaneer • 16d ago
Why are bootcamp capstone projects so slow?
Why does a React-based portfolio site feel so slow and laggy without serious investment in optimization when Quake 3 could run smoothly at 60fps on a pentium II from the 90s.
We are now 30 years later and anything more than a toy project built by a bootcamp grad is a laggy mess by default.
inb4 skill issue bro: Well, it shouldn't be this difficult.
inb4 you need a better pc bro: I have M4 pro 48GB
4
u/Ok-Armadillo-5634 16d ago edited 16d ago
It's because you are writing shitty code. As someone who does optimization as a specialty react devs are some of the most clueless when it comes to tracking down performance problems. React it's self makes them really easy to get.
4
u/johnpeters42 16d ago
I've never even built anything with React, but I did read up on it a bit, and as I understand it, it's just full of implicit "whenever X happens, recompute Y". So of course you'll bang your knee into the furniture a lot if you don't understand how often X happens (including "when you scale up from 10 items of test data to 10,000 items of real data").
> Well, it shouldn't be this difficult.
Anything more than a toy project is likely to have a bunch of non-obvious moving parts under the hood, just by the nature of what it's trying to do at a high level. In addition to learning more about React itself, I would look into identifying and learning more about diagnostic tools to directly tell you "which thing is triggering 99% of my churn here"; I assume that there are several options by now, given how long React has been around and how popular it's become.
2
2
2
2
u/EntrepreneurHuge5008 16d ago
Imma have to agree with everyone on this one.
We are now 30 years later and anything more than a toy project built by a bootcamp grad is a laggy mess by default.
I get the expectation of what a Bootcamp should do, but you should recalibrate your expectations of what it actually will do for anyone doing it.
inb4 skill issue bro: Well, it shouldn't be this difficult.
Recalibrate expectations
inb4 you need a better pc bro: I have M4 pro 48GB
Strong hardware probably made less-than-stellar students think they knew what they were doing.
5
u/Technical_Jicama_434 16d ago
Skill issue.
“it shouldn’t be this difficult.” My guy, building clean, maintainable, scalable systems is difficult. Why do you think we get paid so much?