Now that I’ve had some mentorship I can be productive on my own, but yeah, it took some work.
The senior devs get pulled into meetings, customer escalations, bug reviews, etc. all the time. The juniors, now trained and competent are free to code all day and get the work done because they have fewer responsibilities.
Yes, it takes work to get there, but it’s worth the effort.
As the employer/manager, you need to work to minimize the period of time this is the case and ensure those junior devs quickly get to a point where they can work individually.
I mentioned it elsewhere in this discussion - we have a 1 month on-boarding program for new devs. They all arrive at the same time (summer after graduation), stay near HQ, and work through all the common training together (some tech, some culture, some "how to be an adult", etc). They also work through a simple, but in-depth (UI, API, build pipeline, etc), group project. And wrap up with a two day hackathon for fun (done in common with the summer interns).
For at least 2 companies I've worked at, this is false. Junior devs cannot complete their work at all without help.
This may be the real problem: there is no way to learn the skills to do the job without actually getting a job first and learning the skills as you go.