Last active
November 27, 2018 11:30
-
-
Save dharavp/90947d470e6a532bcb81fbcdcf7a594c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
handleLoadMore = () => { | |
if (!this.state.loading) { | |
this.page = this.page + 1; // increase page by 1 | |
this.fetchUser(this.page); // method for API call | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment