state management in pure react coupon

1 2 3 4