learning react & flux