What's happening is part just bureaucratic inertia. They raised funding and are building the plants even though strictly they aren't needed anymore. And part of it is them replacing older plants with newer more efficient ones. They close plants regularly as well. Instead of operating plants 24x7, they keep a few around for when wind/solar fall short. It seems even the Chinese have a hard time predicting how fast the energy transition is going. They've hit their own targets years ahead of time repeatedly in the recent past.
Apparently China coal imports could drop by about 18-19% this year. That seems to be part of a bigger five year plan. They might be hitting the targets for that early as well.