Created
January 6, 2016 13:04
-
-
Save engineersamuel/781910ac46bc84461f52 to your computer and use it in GitHub Desktop.
Class def
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
import React from "react"; | |
import shallowEqual from "react-pure-render/shallowEqual" | |
// Flux | |
import connectToStores from 'alt/utils/connectToStores'; | |
import FilterSortActions from '../flux/actions/FilterSortActions'; | |
import FilterSortStore from '../flux/stores/FilterSortStore'; | |
@connectToStores | |
export default class IsotopeResponseRenderer extends React.Component { | |
// This class takes no attributes, pass in children of type Element | |
static propTypes = {}; | |
static getStores() { | |
return [FilterSortStore]; | |
} | |
static getPropsFromStores() { | |
return FilterSortStore.getState(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment