React JS interview question