I've started with Web Development in 2013. Back then Node.js was still in 0.x versions, Electron was basically non-existent and Django looked ten-times better than anything PHP was able to offer. I've dabbled with some PHP/Node/Java framework tutorials since then but haven't really had reason to fully switch.
But if I started today I would probably try to find some framework to do everything in JS/TS.