import React from 'react'; import { connect } from 'react-redux' import ImmutablePureComponent from 'react-immutable-pure-component'; import { Link } from 'react-router-dom'; const mapStateToProps = (state, props) => ({ instance: state.get('instance'), soapbox: state.get('soapbox'), }); class LandingPage extends ImmutablePureComponent { shouldComponentUpdate(nextProps, nextState) { const { instance, soapbox } = nextProps; return !instance.isEmpty() && !soapbox.isEmpty(); } render() { const { instance, soapbox } = this.props; if (instance.isEmpty() || soapbox.isEmpty()) return null; return (