The react components need to be defined before they're used