Erik Tribou

Results 16 comments of Erik Tribou

Assuming you are doing this with react and webpack, as a workaround you can `require` instead of `import` the library in a `useEffect` which makes sure the plyr code only...

Just noting that the iPhone only identifies itself as MacOS if the user has requested the desktop version of the website and browser.isIos still works in this mode (although it...

I think this may be related to the order in which things load. At least for me, if I set `preload="none"` on the video element initially and then `preload="metadata"` a...

This can be fixed by setting `output.globalObject: 'this'` in your `webpack.config.js`. You almost certainly have not set a target value in your module.exports or have it set to 'web' (the...

Just wanted to note the double `to_json` also has some performance implications if the `to_json` call is a little expensive (e.g., involves an active record query). We just make sure...

I would like to see a proper node renderer for react-rails. For my own project's SSR engine, I've forked https://github.com/jhawthorn/execjs-fastnode (which runs node as an external process but doesn't launch...

This also results in a large bundle size increase as core-js is often getting included twice by importing `twitter-text` (`core-js@3` at the top level and `core-js@2` within this package). A...

@jkeen That library requires the browser to support parts of `Intl` that IE lacks. This library works with IE.

If using webpack you can alias timezone-support to one of the limited data versions. ``` resolve: { alias: { 'timezone-support$': path.resolve( __dirname, 'node_modules/timezone-support/dist/index-1970-2038.js' ) } } ```

I haven't tested it, but you may be able to fix it by setting `margin-bottom: -23px`