Phil Monroe
Phil Monroe
According to [this line](https://github.com/renchap/webpacker-react/blame/master/javascript/webpacker_react-npm-module/src/index.js#L72) a react component will only mount if the `innerHTML` is empty. ``` js // javascript/webpacker_react-npm-module/src/index.js:72 if (node.innerHTML.length === 0) this.render(node, component) ``` This works well for...
Fixes #27 Changes: Follow the pattern of [react-rails](https://github.com/reactjs/react-rails/blob/master/lib/assets/javascripts/react_ujs_turbolinks.js) and always mount components on `turbolinks:load` whether initial HTML exists or not. Please ensure that: - [ ] Changelog is updated if...