If you use a well-known fwk, you can tell junior devs and new devs to google stuff when in need (as a first line of help), otherwise, you need to write a ton of documentation and/or devote hours per week on support, at the times when you have the least will to do that.
There's no one-fits-all solution, depends on the project, team, constraints etc.
I am saying they are about the same. The last 10% is about as much work as bootstrapping a specific solution.
The new junior dev point is irrelevant if you stick to plain vanilla javascript, and hire junior devs that actually know javascript. Your devs should know how to read code and tests.
> otherwise, you need to write a ton of documentation and/or devote hours per week on support, at the times when you have the least will to do that.
No I don't.
Junior dev: "hey how does this work?" Me: "Did you run the tests?"
At worst, your site won't be cross-browser compatible, but it's not like it's serverside where the framework is legitimately doing heavy lifting in a high performance environment.
The second you need to do something your framework doesn't, the same rule applies. Frameworks are really good for covering most things, but almost everyone runs into that last 5-10% or so that it doesn't do. That ends up being the most difficult, in my experience.