michalochman / react-pixi-fiber

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

Upgrade reconciler #302

Open tuoxiansp opened 1 year ago

tuoxiansp commented 1 year ago

https://github.com/pmndrs/zustand/issues/1026#issuecomment-1310007962

Seems like we can't make react@18 + react-dom@18 + zustand (or other state manager with useSyncExternalStore, not tested for this)+ react-pixi-fiber work together.

I was keeping having this error: TypeError: dispatcher.useSyncExternalStore is not a function util upgraded the reconciler for temp fix.

The fix just works for me, but it couldn't pass all tests.