I'm doing a 8x8 LED matrix design.Rows driving via B562 & columns driving directly from 74HC595 (via a resistor). Doing a 1/8th scanning method.
The problem is only NXP brand 74HC595 is surviving & cheap Aliexpress SN74HC595 ICs are heating (only working few minutes) & getting stuck & heating too much.
Each pin CANNOT sink 240mA.. There is no current limit so your LED's are maxing out.. Normally we use a ULN2003a or similar to drive the LEDS BUT!! you still need a resistor....
Even a 270 ohm will get too hot.... Each led will consume 30mA (ish) 8 of them.. 240mA through a 270 ohm resistor.... No wonder there's a bit of heat..