Closed samanrnr closed 3 years ago
This is because we depend on react-reconciler
, once React 18 gets stable we can update the host config to meet the new react-reconciler
api
@inlet are there are any temporary solutions?
upgrading to react 18 seems to be the only way to put together a createPortal
hack.
@unicornware I haven't got the time to make this library react 18 compatible, but please feel free to open a PR and we can work together on the implementation.
@inlet don't have the bandwidth at the moment, which is why i was looking for temp solutions. for now i've opted to not use the Stage
component at all. little more work, but seems to do the trick
Great to hear you've found a workaround! I'll see if I have time the coming weeks to update this library
Description
Stage component does not work with react 18
is there any way to solve this problem before releasing new update?
Steps to reproduce
1. 2.
Additional info
@inlet/react-pixi
version: 6.6.2React
version: 18.0.0-alpha-73ffce1b6-20210624ReactDOM
version: 18.0.0-alpha-73ffce1b6-20210624PIXI
version: 6.0.4