title: Dynamic import() file in JS
body: <p>I need to import markup file dynamically slice part of file and add result to variable and render result in my React app:</p>
  
  <pre><code>import('../changelog.md').then(...) 
  </code></pre>
  
  <p>I trying to do it in <code>render()</code> method with all logic but I have problems. Where I need to import it (in class or outside) and how to get value of promise to paste it to variable?</p>