title: Do unused functions in a React Hook cause application bundle size issue?
body: <p>I have a library utils, which contains about 20 functions, in my application and I want to create a hook to wrap it. My question is: if I do that, do the unused functions will increase my application bundle size?</p>
  
  <p><strong>Example</strong></p>
  
  <p>I'd use <code>useUtils</code> this way:</p>
  
  <pre><code>// Component A
  const { formatDate } = useUtils();
  
  // Component B
  const { roundNumber } = useUtils();
  
  // Component C
  const { formatDate, transformData } = useUtils();
  </code></pre>
  
  <p>Each component destructures only the functions that it'll use, but the others will also be loaded at the time I call <code>useUtils()</code>.</p>
  
  <p>May this scenario increase the application bundle size at build?</p>
  
  <p>Note: all my utils functions are pure.</p>