Transit through Guangzhou China.?

Planning travel back to PK. Found a cheap option. But need to clarify. Has anybody recently transit through china using Chinese airline.? I read that if transit is within 24 hours, no visa or permits are required if you stay inside airport.

If you experienced, please guide.