Working React example