bitmap/react-hook-inview

"Syntax Error" in IE11

Closed this issue · 2 comments

The hook does not work in IE11. It throws "Syntax Error" at "./node_modules/react-hook-inview/dist/esm/index.js"

You are importing the ECMAScript module version, which will throw an error because IE11 doesn't support ES modules.

The root file in the dist directory (./node_modules/react-hook-inview/dist/index.js) is the legacy ES5 build.

Thanks for the reply. Probably this issue can be closed.