Redux actions inside a container for a calculator I used to import all the actions in the container's argument which looks messy (I put a comment below where I do it in that way). I want to know if there is a better approach when using actions with react-redux. Should I use alias, and if I use alias is there any impact on the performance?

import React from 'react';
import Proptypes from 'prop-types';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';

import {
  selectNumber,
  selectOperator,
  solverOperator,
  initialize,
  addDecimal,
  clearEntry,
  changeSign,
} from '../actions/index';

const ButtonsContainer = ({ selectNumber, selectOperator, solverOperator, initialize, addDecimal, clearEntry, changeSign, }) =&gt; (  // HERE I PUT ALL THE ACTIONS AS ARGUMENT
  &lt;React.Fragment&gt;
    &lt;button value="AC" onClick={() =&gt; initialize()} className="buttonStyle ac" type="submit"&gt;AC&lt;/button&gt;
    &lt;button value="CE" onClick={() =&gt; clearEntry()} className="buttonStyle ce" type="submit"&gt;CE&lt;/button&gt;
    &lt;button value="CHANGE" onClick={e =&gt; changeSign(e.target)} className="buttonStyle posneg" type="submit"&gt;+/-&lt;/button&gt;
    &lt;button value="/" onClick={e =&gt; selectOperator(e.target)} className="buttonStyle divide" type="submit"&gt;/&lt;/button&gt;
    &lt;button value="7" onClick={e =&gt; selectNumber(e.target)} className="buttonStyle seven" type="submit"&gt;7&lt;/button&gt;
    &lt;button value="8" onClick={e =&gt; selectNumber(e.target)} className="buttonStyle eight" type="submit"&gt;8&lt;/button&gt;
    &lt;button value="9" onClick={e =&gt; selectNumber(e.target)} className="buttonStyle nine" type="submit"&gt;9&lt;/button&gt;
    &lt;button value="*" onClick={e =&gt; selectOperator(e.target)} className="buttonStyle multiply" type="submit"&gt;X&lt;/button&gt;
    &lt;button value="4" onClick={e =&gt; selectNumber(e.target)} className="buttonStyle four" type="submit"&gt;4&lt;/button&gt;
    &lt;button value="5" onClick={e =&gt; selectNumber(e.target)} className="buttonStyle five" type="submit"&gt;5&lt;/button&gt;
    &lt;button value="6" onClick={e =&gt; selectNumber(e.target)} className="buttonStyle six" type="submit"&gt;6&lt;/button&gt;
    &lt;button value="-" onClick={e =&gt; selectOperator(e.target)} className="buttonStyle minus" type="submit"&gt;-&lt;/button&gt;
    &lt;button value="1" onClick={e =&gt; selectNumber(e.target)} className="buttonStyle one" type="submit"&gt;1&lt;/button&gt;
    &lt;button value="2" onClick={e =&gt; selectNumber(e.target)} className="buttonStyle two" type="submit"&gt;2&lt;/button&gt;
    &lt;button value="3" onClick={e =&gt; selectNumber(e.target)} className="buttonStyle three" type="submit"&gt;3&lt;/button&gt;
    &lt;button value="+" onClick={e =&gt; selectOperator(e.target)} className="buttonStyle plus" type="submit"&gt;+&lt;/button&gt;
    &lt;button value="0" onClick={e =&gt; selectNumber(e.target)} className="buttonStyle zero" type="submit"&gt;0&lt;/button&gt;
    &lt;button value="." onClick={e =&gt; addDecimal(e.target)} className="buttonStyle dot" dangerouslySetInnerHTML={{ __html: '&amp;middot' }} type="submit" /&gt;
    &lt;button value="=" onClick={e =&gt; solverOperator(e.target)} className="buttonStyle equal" type="submit"&gt;=&lt;/button&gt;
  &lt;/React.Fragment&gt;
);

ButtonsContainer.propTypes = {
  selectNumber: Proptypes.func.isRequired,
  selectOperator: Proptypes.func.isRequired,
  solverOperator: Proptypes.func.isRequired,
  initialize: Proptypes.func.isRequired,
  addDecimal: Proptypes.func.isRequired,
  clearEntry: Proptypes.func.isRequired,
  changeSign: Proptypes.func.isRequired,
};

const mapDispatchToProps = dispatch =&gt; bindActionCreators({
  selectNumber,
  selectOperator,
  solverOperator,
  initialize,
  addDecimal,
  clearEntry,
  changeSign,
}, dispatch);
I would try to extract some of the common functionality into reusable components as follows. The NumericButton and OperatorButton components could either receive selectNumber and selectOperator as props or the components could be connected components with the select* props coming from mapDispatchToProps. The connected component method eliminates the need to pass the prop in every component instance in ButtonContainer, but increases the number of connected components thus adding some complexity.

const CalculatorButton = ({ children, className, onClick, value}) =&gt; {
  return &lt;button value={value} onClick={e =&gt; onClick(e.target)} className={`buttonStyle ${className || ''}`} type="submit"&gt;{children || value}&lt;/button&gt;;
};

const NumericButton = ({ className, value }) =&gt; {
  return &lt;CalculatorButton className={className} onClick={selectNumber} value={value} /&gt;;
};

const OperatorButton = ({ className, value }) =&gt; {
  return &lt;CalculatorButton className={className} onClick={selectOperator} value={value} /&gt;
};

const ButtonsContainer = () =&gt; (
  &lt;React.Fragment&gt;
    &lt;CalculatorButton className="ac" onClick={() =&gt; initialize()} value="AC" /&gt;
    &lt;CalculatorButton className="ce" onClick={() =&gt; clearEntry()} value="CE" /&gt;
    &lt;CalculatorButton className="posneg" onClick={changeSign} value="CHANGE"&gt;{'+/-'}&lt;/CalculatorButton&gt;
    &lt;OperatorButton className="divide" value="/" /&gt;
    &lt;NumericButton className="seven" value="7" /&gt;
    &lt;NumericButton className="eight" value="8" /&gt;
    &lt;NumericButton className="nine" value="9" /&gt;
    {/* etc. */}
  &lt;/React.Fragment&gt;
);