Giter VIP home page Giter VIP logo

Comments (10)

michalochman avatar michalochman commented on August 22, 2024 1

Seems like it's not working after this change: facebook/react#13397

I need to update react-reconciler to the newest version to fix this.

from react-pixi-fiber.

michalochman avatar michalochman commented on August 22, 2024

@ShallowGreen is there a particular reason you render empty Stage?

from react-pixi-fiber.

michalochman avatar michalochman commented on August 22, 2024

Ok, I can see that it actually breaks with anything on React 16.5, I'll have a look

from react-pixi-fiber.

ShallowGreen avatar ShallowGreen commented on August 22, 2024

https://codesandbox.io/s/q7oj1p0jo6
the demo can not work as well

from react-pixi-fiber.

ShallowGreen avatar ShallowGreen commented on August 22, 2024

👍 Thanks for your reply :)

from react-pixi-fiber.

fynntimes avatar fynntimes commented on August 22, 2024

Downgrading to React 16.4.2, from 16.5.2, solved the problem for me.

from react-pixi-fiber.

michalochman avatar michalochman commented on August 22, 2024

@ShallowGreen @faizaand this is now fixed for React 16.5 in [email protected]. Please see updated README.

from react-pixi-fiber.

kasperkronborg avatar kasperkronborg commented on August 22, 2024

Looks like this has been reintroduced in 0.6.2 and with React 16.5.2. At least I was getting the error. Downgraded to [email protected] solved it.

from react-pixi-fiber.

michalochman avatar michalochman commented on August 22, 2024

@kasperkronborg unfortunately recent changes to react-reconciler are not backwards compatible with earlier versions of react. This means that a particular version of react-reconciler is more closely tied to a particular react version. To be more specific, if you want to use react-pixi-fiber @ 0.6.2 you need to update react to 16.6+

from react-pixi-fiber.

michalochman avatar michalochman commented on August 22, 2024

The way to solve these compatibility issues from this library standpoint would be to change react-reconciler to peer dependency instead and tell users to require the version that works with their react version.

from react-pixi-fiber.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.