In the past, it never mattered what brand USB cables you bought, but USB-C apparently changed that. There's plenty of articles that talk about how cheap USB-C cables can end up ruining your device. It's probably best to do some research when buying a USB-C cable, to make sure it's not likely to blow up your Switch. You'll probably still be able to find affordable ones, and I doubt it'll be as bad as it is buying official Apple cables, but gone are the days of just picking up a USB cable at the gas station or at Ross.