Suppose I have a leaded component (LED, photodetector, whatever) that will not be mounted on a PCB, and I need to connect it to some wires e.g. 24-28AWG. What are the standard ways of doing this?
For hobby work I'd just solder wires along the component leads and cover with pieces of heat shrink. But what about production work? And low cost really is important here.