I consider components, especially drivetrain parts, to be consumables. I don't pay much attention to them when buying a new bike, because I will be replacing a lot of those parts within a couple of years anyway. Getting the "right" frame with good fit, all the necessary mounting points, clearance for studded tyres etc. is more important to me.
One exception is IGH and front dynohubs... they're relatively expensive and once installed they're there for decades even, hopefully. It makes sense to try and make sure you're happy with your choices there.
--J