Today, renewables are competing favorably against coal and nuclear power on price, and they are improving rapidly still. It takes easily 15 years to plan and build a nuclear power plant, while a solar plant can be planned and built in months.
The issue of what happens when the wind doesn't blow and the sun doesn't shine can be addressed through larger HVDC grids with a good energy mix and through storage technology, which is also improving rapidly. Meanwhile, nuclear has its own issues with the elements nowadays. Nuclear relies on huge amounts of freshwater. I've heard of nuclear plants that need to shut down in the summers now because of drought. It will become harder and harder to find locations where they can be built.
Finally, new fossil fuel plants built today are mostly gas, not coal. Gas also has its problems, but it has been a reasonable transition technology that is also losing ground now as energy storage technology is improving.