Sebastian's Transistor Assignment

What was used before the transistor was invented

The thermionic valve was used before the transistor was used in 1947

The thermionic valve allowed for currents to be turned on and off, and also made electricity flow one way