The most recent variants from Shimano and SRAM provide compacts with derailleurs suited to 11-32 and 11-34 11 spd, which basically match what
30t CW and 11-28 cassette give you on 10spd triples. There is the kludge of double shifting CW and cassette unless you are on a steep hill but
DI-2 solves that problem as well. Not recommending this but this is the direction bikes are going both road and ATB. For me a 30T CW and a
triple solves any hill I can pedal up. But my next cassette will be 12-30 10 spd when the 9spd cassette wears out and I junk the 9spd brifters.