My company has put a lot of effort into helping junior developers get a really good start to their careers. To a certain extent, you have to structure your work to enable this. I'd suggest seeing the support as a wider thing than just the activity of mentoring.
I wrote some notes:
https://www.haplo-services.com/blog/2017/working-with-early-...