pixi-react icon indicating copy to clipboard operation
pixi-react copied to clipboard

Error when using Stage

Open duckforce opened this issue 2 years ago • 1 comments

Description

image image

Steps to reproduce

  1. 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 avatar Sep 12 '22 19:09 duckforce

@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?

saitonakamura avatar Sep 19 '22 15:09 saitonakamura

I solve problem with removing hot-loader @pmmmwh/react-refresh-webpack-plugin.

Could you solve this problem? @saitonakamura

duckforce avatar Oct 11 '22 09:10 duckforce

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

saitonakamura avatar Oct 11 '22 13:10 saitonakamura

Closing as no repro has been provided.

lunarraid avatar May 04 '23 16:05 lunarraid