Re: 2×10 slx drivetrain?

#110176

Just for more information if someone could confirm my drivetrain setup will likely be:
SRAM X7 2×10 shifters
Shimano SLX double crankset M665
Shimano XT M771 10 spd cassette
SRAM X9 10 spd rear derailleur
Shimano XT front 2×10 derailleur

I have not bought the derailleurs yet. Will this setup work?