first version with react js