facebookarchive / react-360

Create amazing 360 and VR content using React
https://facebook.github.io/react-360
Other
8.73k stars 1.23k forks source link

Fail to use React v16.3.0 in React VR. #457

Open zzc-tongji opened 6 years ago

zzc-tongji commented 6 years ago

Problem

React v16.3.0 has been released, and I think the new content API is really good.

However, when I try to use it in React VR:

It doesn't work and the console of Chrome shows:

ReactComponentTreeHook.purgeUnmountedComponents is not a function.

Additional Information

andrewimm commented 6 years ago

React 16.3 is not supported at this time. As you might see from the repo, there are large structural changes happening within the runtime that will improve performance. Once they have completed, we will release a new version that supports 16.3