Not really. There's no shortcut - you just have to put in the work.
- Write a lot of code.
- Read a lot of code.
- Build countless throwaway projects.
And, of course, the more you learn, the more you're aware of much you don't know. So it's a never-ending process.