One type of electronic device to especially avoid is the microwave, which emits a strong signal in the 2.4GHz band, the same wireless band your router operates in. Be careful not to stick your router ...
So one thing that shortens the life if an SSD is the erasing and writing to its memory cells, but the other issue is heat.