Last active
March 30, 2017 13:09
-
-
Save pastelsky/33c9750883c4c26879ac68a26ca91f1b to your computer and use it in GitHub Desktop.
Order your methods
This file contains 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
class SearchPage extends Component { | |
// Helper Functions | |
fetchResults() { ... } | |
fireAnalyticsEvent() { ... } | |
// Event Handlers | |
handlePagination() { ... } | |
handleProductClick() { ... } | |
// DOM Elements | |
get resultCount() { ... } | |
get productList() { ... } | |
render() { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment