message: Memoize ResourceIcons
diff: @@ -5,13 +5,23 @@ import * as _ from 'lodash-es';
  import { K8sResourceKindReference } from '../../module/k8s';
  import { modelFor } from '../../module/k8s/k8s-models';
  +const MEMO = {};
  +
  export const ResourceIcon = (props: ResourceIconProps) => {
  + if (MEMO[props.kind]) {
  + return MEMO[props.kind];
  + }
  const kindObj = modelFor(props.kind);
  const kindStr = _.get(kindObj, 'kind', props.kind);
  const klass = classNames(`co-m-resource-icon co-m-resource-${kindStr.toLowerCase()}`, props.className);
  const iconLabel = (kindObj && kindObj.abbr) || kindStr.toUpperCase().slice(0, 3);
  - return <span className={klass}>{iconLabel}</span>;
  + const rendered = <span className={klass}>{iconLabel}</span>;
  + if (kindObj) {
  + MEMO[props.kind] = rendered;
  + }
  +
  + return rendered;
  };
  /* eslint-disable no-undef */
  