https://github.com/shakacode/react_on_rails/pull/1781/files#diff-a5cd5bda8b11d32f057c4726ef71efb7fb19503af26aa6f2ed29f29bb504eeb3