pixi-react
pixi-react copied to clipboard
Error when using Stage
Description


Steps to reproduce
- I just added Stage at any components and get error "Cannot set properties of undefined (setting 'autoStart')" Maybe something wrong with webpack config or I should add special loader?
Additional info
-
@inlet/react-pixi
version: 6.8.0 -
React
version: 17.0.2 -
ReactDOM
version: 17.0.2 -
PIXI
version: 6.5.3 -
webpack
version: 4.46.0
@duckforce I'm puzzled and struggling to reproduce via codesandbox, https://codesandbox.io/s/angry-wave-1ly78t?file=/src/App.tsx. Can you provide a repro?
I solve problem with removing hot-loader @pmmmwh/react-refresh-webpack-plugin.
Could you solve this problem? @saitonakamura
If you can provide a repro, we can look into it, but I'm not too well-versed in hot reload shenanigans to know how to approach it
Closing as no repro has been provided.