Ag-Grid IE11 / React / WebPack does not load properly

爷,独闯天下 提交于 2019-12-24 23:30:36

问题


I am getting this error when I try out a simple rendition of ag-grid. The error occurs only in IE11. FF/Chrome/Edge are OK.

Unable to get property 'addEventListener' of undefined or null reference

Looks like it has something to do with how Webpack is bundling the scripts. Haven't been able to figure this one out. Any help is appreciated. Thanks.

Update 2018-07-02

The order of my vendor and app files was incorrect. When I fixed the order, the grid issue was resolved, but it caused other (more serious) issues in my app. Ended up upgrading my Node, NPM, Webpack to 4.0 and revamped my config. Looks like it is working now. Hope it stays that way.

来源:https://stackoverflow.com/questions/51073078/ag-grid-ie11-react-webpack-does-not-load-properly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!