They work beautifully together in tasty recipes from Spanish omelette to soups. But potatoes and onions really don’t make good bedfellows. In fact, they should be kept out of each other’s way at all costs.
Onions give off a gas that makes potatoes go off, so store them separately - only bringing them together when you’re ready to slice them into a delicious dauphinoise. Yum!