A new alternative transistor relies on a semiconductor that can be switched with magnetism instead of electricity. The approach could help make circuitry more malleable and lead to more efficient and reliable gadgets