title: How can i make document.addEventListener 'turbolinks:load' run when i came from link_to helper via react Webpacker on Rails 5?
body: <p>So my project is using react with Webpacker on Rails 5.
  If i go to the page by <code>link_to</code> helper seems like javascript under 
  <code>document.addEventListener('turbolinks:load')</code> not working.</p>
  
  <p>This is my root controller <code>insurance_form_container.jsx</code></p>
  
  <pre><code>import React from 'react'
  import ReactDOM from 'react-dom'
  import StartForm from './insurance_form/start_form'
  
  console.log('root react')
  
  document.addEventListener('turbolinks:load',function () {
    ReactDOM.render(
      &lt;StartForm /&gt;,
      document.getElementById('start-form-index-container')
    )
  })
  </code></pre>
  
  <p>This is my html template for this route</p>
  
  <pre><code>&lt;div class="container"&gt;
    &lt;div id="start-form-index-container"&gt;
  
    &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;%= content_for(:footer) do %&gt;
      &lt;%= javascript_pack_tag('insurance_form_container') %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>This is my link form the other page.</p>
  
  <pre><code>&lt;%= link_to users_insurance_form_start_path,
              class: 'btn btn-lg btn-success btn-primary-green' do %&gt;
      ดำเนินการต่อ
  &lt;% end %&gt;
  </code></pre>
  
  <p>Seems like <code>console.log('root react')</code> is running correctly but <code>ReactDOM.render</code> is not running at all.
  Unless if i refresh the page it is loading correctly.</p>
  
  <p>Am i missing something?
  How can i make <code>.jsx</code> code running through <code>link_to</code> helper?</p>
  
  <p>Thanks!</p>