Guest User

Untitled

a guest
May 21st, 2018
72
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  increment() {
  2.        this.setState( prevState => {
  3.            return {
  4.                counter: prevState.counter + 1,
  5.                counterCounter: prevState.counterCounter + 1,
  6.            }
  7.        } );
  8.     }
RAW Paste Data