China has been socialist since the communists won the Chinese civil war in 1949.
China employs capitalist methods in order to further its productive capabilities in order to complete it socialist revolution. Ultimately the Chinese communist party has full and final control of all property. In other words Chinese “capitalism” does not entail private property rights as are guarded in constitutions in other countries.
Educational material:
https://en.m.wikipedia.org/wiki/Socialism_with_Chinese_chara...
https://en.m.wikipedia.org/wiki/Chinese_Communist_Revolution
https://www.learningfromchina.net/why-china-is-a-socialist-c...