Learning three.js: Hiding faces below mesh. Weight, Masking, modifiers?

Hi forum! I’m trying to build a character editor to learn more about this tool. I’m trying to add clothing and wanted to get some advice on what could be a good way to achieve nice results. Perhaps better weight painting is the way, or masking. I was experimenting a little bit with those but wanted to know if there are other/better ways for me to research to avoid what we see on the picture. Thanks a lot!