The hardest part of EE is graduation with a 3.0 or more from a good school. Then internships can be found especially if you're in a good school and have the right courses / projects.
After that once you have the first job it's easy. Using React guy as an example, he had a solid EE experience including autonomous driving, hardware design, embedded, CUDA, ML... And he chucked it all when he saw web development. Like... He didn't know a line of SQL. Or GUI development. I taught him SQL, he picked React and JavaScript on his own and wrote a mind-blowing video playback site (basically to demonstrate videos recorded in the field). He's now a senior UI developer, wildly successful.
As i said, take interesting courses in CS while an EE, do interesting projects, maybe work in a lab...