Surface mount USB ports are easier to use from a PCB layout perspective, but can tear off the PCB with a little shear force. If you can’t reinforce the port with your enclosure consider using a through hole USB connector.