Once you factor in environmental cost, renewables have been cheaper for a long time.
Everything dropping in price has helped a lot too, of course. Like the article says, solar panels, wind turbines, and batteries have all significantly dropped in price in the last decade.