Skip to content

Babylon Version 8 React 18 #359

@dennemark

Description

@dennemark

Hi @brianzinn ,
react-babylonjs still works smoothly. Pretty solid foundations most of the time I would say.
But in our app we stayed for quite a while on version 7.10. Now we upgraded to use CSG2.
I am using react-babylonjs with v 3.2.2 and babylonjs with v 7.54.3. This all works out well.
If I change to 3.2.4 or set it to ^3.2.2 which will also install 3.2.4, it will stop working because of react 19. Since I currently do not dare to move to react 19 yet, I just pinned it to 3.2.2.
However if I use babylon v8, I am getting issues with fromInstance, complaining that the Mesh class is not correct.

if (props.fromInstance instanceof clazz) {

Moving back to v7.54.3 solves the issue.
I am now wondering if it would be a hassle to still support react 18 and babylon v8.
But I also read in release notes or somewhere, that you try to support r18 and r19 anyways. So this might solve this issue.
Just wondering if you have an opinion about this.
Kind regards!

Btw. is there a way to sponsor you or send some coffee tip?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions