Sorry - gone off on one. I won't be offended if you can't be arsed with the following.....
Until I chose to go full trophy husband this year, I worked for a company that provided software for the UK energy market, so this used to be my area of operations.
You're right, but only to a point. Most countries are investiging heavily in renewables. China in particular are getting heavily into solar, although they're still committed to coal in the medium term. China, Japan, Germany and I think India all produce more energy from renewables than nuclear, although this will include biomass as well as solar/wind. The reason is economics. The cost of solar in particular has plummeted.
The only two major economies that are at least trying to buck the trend are the U.K. and the States. The UK Dept of Energy and Climate Change has been outsourced to the nuclear lobby for some time. I'm not raging anti-nuclear (I'm a nuclear physicist by training) but this country's energy policy gives nuclear a very easy time, even when the economic arguments are debatable. It's also very lukewarm in its support for wind and tidal, two resources we have in abundance. The States is pure politics, but Trump's plans for 'clean coal'

will be dashed on the rocks of basic economics.
There are a few technical and market driven reasons why nuclear is favoured in this country. What makes electricity difficult when compared with any other energy commodity (gas, coal, oil etc) is that it's very difficult to store in industrial quantities. The best we do at the moment is a big pumped hydro reservoir in Wales. Our current market for electricity is essentially demand driven, defining an always-on 'baseload' level of generation, suplimentented by more flexible generators for peaks in demand. Once a nuclear reactor or coal fired station is on, it stays on, so these are/were the go-to providers for baseload. The market then uses more turn-on-and-offable sources, such as gas turbines, to meet peaks.
Although this process operates as a market, with some demand being auctioned about an hour before it's required, it's quite a rigid system, which will favour the more predictable energy sources. There is a mechanism where a major power user can sell back its demanded power to the grid if things get tight (and make a shed load in the process) but there's nothing to manage consumer demand.
Most people don't realise but the UK's national grid has connections (interconnectors) to France, the Netherlands, Ireland and I think one is being built across to Norway. This allows us to share excess capacity or meet demand across national boundaries. From memory, were net importers from the European mainland but exporters to Ireland.
Bizzarely, a move to electric cars might help things as car batteries could be charged off-peak, using any spare capacity. A very clever system would allow users to sell their charge back into the grid if they didn't need it during peak demand.
Really hydrogen fuel cell technology should be the future. And monorails. Monorail!
I'll shut up now.