title: How to use React.memo() in a file with named exports?
body: <p>I'm used to <code>export default React.memo(SomeComponent);</code> so React can memoize my components.</p>
  <p>But in a file where I'm using named exports. How can I use <code>React.memo()</code> ?</p>
  <pre><code>export { React.memo(MainPostTopic), React.memo(MainPostSubtopic) };
  </code></pre>
  <p>The line above doesn't work.</p>
  <p><strong>EXAMPLE FILE</strong></p>
  <pre><code>function MainPostTopic(props) {
    console.log('Rendering MainPostTopic...');
    return (
      &lt;LS.Topic_H2 id={props.id}&gt;
        {props.value}
      &lt;/LS.Topic_H2&gt;
    );
  }
  
  function MainPostSubtopic(props) {
    console.log('Rendering MainPostSubtopic...');
    return (
      &lt;LS.Subtopic_H3&gt;
        {props.value}
      &lt;/LS.Subtopic_H3&gt;
    );
  }
  
  export { MainPostTopic, MainPostSubtopic };
  </code></pre>