reactjs-assignment