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

2019-08-28 04:30发布

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.

0条回答
登录 后发表回答