Construction of new nuclear plants takes on average 7.5 years, and are extremely prone to cost overruns and delays. Renewables are a much faster and cheaper option to come online, be profitable and allow for shutdown of legacy infrastructure in the same period of time.
And they are viable now - several countries have run for days and weeks on renewables alone. Several regions of Germany are also fully renewable powered.