Place input and output capacitors as close as possible to the device.
Use copper planes for device connections to optimize thermal performance.
Place thermal vias around the device to distribute the heat.
For packages with thermal pads, solder the thermal pad to copper to achieve
best thermal resistance. Thermal resistance increases significantly when the
thermal pad is not soldered.