Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Class def
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';
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