Dancers need to respect the needs of their body. Our body is our instrument and without proper care it will not be able to do the amazing things we ask of it every day.
The International Association for Dance Medicine and Science (https://www.iadms.org/) is a great resource for dancers in regards to proper nutrition and eating habits.
Their paper on Nutrition for Dancers is thorough and easy to read: (https://cdn.ymaws.com/www.iadms.org/resource/resmgr/resource_papers/dance-nutrition-2016.pdf)
The article discusses BMI (body/mass index), dieting vs. healthy body weight, disordered eating, the aesthetics of dance, aerobic vs. anaerobic activity, finding a healthy balance of carbohydrates, fats and proteins, vitamin supplementation, beverages and appropriate meal planning.
If you wish to research further there is a bibliography of excellent books at the end of the paper.