I'm adding individual icons explicitly as shown here: https://fontawesome.com/v6/docs/web/use-with/react/add-icons#add-some-style
The code I'm using is:
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faRocket } from '@fortawesome/free-solid-svg-icons'
...
<FontAwesomeIcon icon={faRocket} flip />
...
It seems like most of the other animations work. When I replace 'flip' with 'spin', for example, the icon spins. I can't get it to flip.
Also worth mentioning, when I wrote the code like this:
<i class="fa-solid fa-rocket fa-flip"></i>
The flip animation worked.