how to respond vs react