The technology of electricity production has advanced since nuclear peaked in the mid 1980s.
We have better/cheaper ways of producing electricity than attaching a heat source to tank of water, boiling the water to produce steam, then forcing the steam through a turbine, capturing the kinetic energy in order to turn the rotor of an alternator. Whether that heat source is coal or nuclear, you're still looking at what is fundamentally a 19th century design - attach a steam engine to an alternator.
Gas turbines remove the boiling water/steam engine part. Wind turbines remove heat from the process completely and solar PV removes the mechanical part.
All 3 technologies are base on mass production - particularly solar PV. And so all have seem massive price decreases which is expected to continue. Meanwhile nuclear gets more and more expensive.
Globally, nuclear peaked about 2 decades in terms of energy production ago, 2.5 decades ago in terms of number of operating turbines, 3 decades ago in terms of share of electricity production and 4 or 5 decades ago in terms of plants under construction.