Exactly... Attacking Taiwan would send the Chinese back decades both militarily and domestically.
China is holding out for a “one country, two systems” set-up like Hong Kong, which they can modify over time.
They like the golden eggs in Taiwan too much to risk a Grozny-fication killing the goose.