Yam and spinach can be cooked together, because there is no conflict between the nutritional elements of the two, so you don't have to worry about endangering your health.
Eating these two vegetables together is good for our health, because spinach contains a lot of carotene, vitamins, folic acid, iron and other elements, while yam contains vitamins, carbohydrates, proteins and other elements. The nutritional elements in the two are relatively rich. Eating together can reduce blood pressure.