A ribbon dancer is leaping through the air with her head back during a competition, green ribbon behind her.
a dancer performs
Ribbon dancer is a type of dancer.
The act of competition implies that people are performing in the competition. Sentence 1 refers to a "dancer" "during a competition", and her actions are consistent with being a competitor.
Ribbon dancer performs with ribbon.