Renewable energy is becoming steadily cheaper and more flexible in meeting the global need for electrical power. In 2016 most new electrical generation was renewable and cost effective battery backup is arguably now here. The French nuclear plants being shuttered are at the end of their 40 year design life although expensive refurbishment was/is possible. German nukes with a lot of useful remaining life are being taken off line. A new breed of small nuclear reactors, SMRs, are meant to work well with renewables and have excellent load following capabilities. One can't be sure about the economics until the units are in commercial service.

https://www.greentechmedia.com/articles/read/nuclear-can-be-friends-with-renewables

http://www.nuscalepower.com/images/our_technology/NuScale-Integration-with-Renewables_ICAPP15.pdf