How to solder USB-A female socket to PCB?
If you click your link and then click open the datasheet you see the PCB footprint that it is supposed to be mounted on. Those bent leads go to holes and they grip quite tightly and keep the stress away from the actual contact pins. Also keeps connector firmly in place before soldering.