timurtu
timurtu
Oh okay I get it now, it's resolving the pathname to require it. Okay I will try the mangle: false
And yes that's what it's doing I didn't realize the package I'm using to convert JSX to string wasn't transpiled
That fixed it thanks!
Hmm I just thought of that and removed it on componentWillUnmount ```javascript componentWillUnmount() { if (!this.props.splitTheGrid) { window.removeEventListener('resize', false) } } ``` but it's still happening
Oh okay. Like this? It now says setState is not a function.
I also tried binding it here and now it gives the error from before
that worked ty
No problem
Cool true but doesn't using componentWillMount mean it has to be stateful?
This was actually resolved my bad