Any good sources to learn 1?
Other ways to find good projects to read are to look through the codebase of whatever framework you're using, if you're using one. Are there any dependencies/libraries you always reach for? Read through that code as well.
Learn design patterns to properly decouple parts of your system. The Gang Of Four book is considered the best book on this topic.
I worked more on the infrastructure / backend side, and I've found the book Designing Data Intensive Applications really useful. Amazing mix of practice and theory, super applicable to people working on distributed systems. Not sure if there is any equivalent for frontend / product engineering.