michalochman / react-pixi-fiber

Write PixiJS applications using React declarative style.
MIT License
858 stars 94 forks source link

Can't use with new versions of PixiJS #322

Closed snatvb closed 1 year ago

snatvb commented 1 year ago

Description

Can't use with new versions of PixiJS

Attempted import error: 'extras' is not exported from 'pixi.js' (imported as 'e').

Steps to reproduce

  1. Install actual version of PixiJS
  2. Build application

Additional info

michalochman commented 1 year ago

Hi, please see discussion in #279

michalochman commented 1 year ago

BTW unless you are using react-pixi-fiber already, you might want to use pixijs/pixi-react instead.

snatvb commented 1 year ago

@michalochman I use

snatvb commented 1 year ago

BTW unless you are using react-pixi-fiber already, you might want to use pixijs/pixi-react instead.

Will you support your version or is it better to migrate to pixijs/pixi-react?

michalochman commented 1 year ago

@snatvb, the long-term plan is to migrate to pixijs/pixi-react. If you intend to use PixiJS v7+ with React 18+ then this is the way to go.

We want to port some bug fixes there and also add missing functionalities from this repo. Until then, I support this repository with bug fixes. I don't plan to implement any new functionalities.

snatvb commented 1 year ago

@michalochman thank you for your work. I've migrated. ❤️