title: how to use useMemo with injectIntl
body: <pre><code>const  PrintList = memo(({list})=&gt;{
    console.log(&quot;render&quot;);
    return &quot;List ...&quot;;
  });
  
  
  function HelloWorld({ intl, ...props }) {
    const list = useMemo(() =&gt; [&quot;key1&quot;, &quot;key2&quot;].map((id) =&gt; intl.formatMessage({ id }) 
    )
    , [intl]);
  
    return &lt;PrintList list={list} /&gt;;
  }
  
  const HelloWorldContainer= injectIntl(HelloWorld);
  </code></pre>
  <p>How can I memoize the rendered output of PrintList when the list prop depends on intl?</p>