question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Molecule3D dependency doesn't work with React version 16.0 and above

See original GitHub issue

In React v15.5, propTypes have been moved to an external package (announcement: https://reactjs.org/blog/2017/04/07/react-v15.5.0.html)

From the announcement:

Prop types are a feature for runtime validation of props during development. We’ve extracted the built-in prop types to a separate package to reflect the fact that not everybody uses them. In 15.5, instead of accessing PropTypes from the main React object, install the prop-types package and import them from there:

The dash-core-components library now uses React v16.0 (upgraded from React v15.4), and this results in a breaking change for one of our dependencies (Molecule3D):

https://github.com/Autodesk/molecule-3d-for-react/blob/ea30999599755f916a1db1d321b198e21348d1a6/src/components/molecule_3d.jsx#L53

https://reactjs.org/warnings/dont-call-proptypes.html#dont-call-proptypes-directly From the above link:

If you don’t fix the warning, this code will crash in production with React 16.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
shammamah-zzcommented, Apr 11, 2019

@mkcor Good catch! Just fixed it 😃

0reactions
mkcorcommented, Apr 11, 2019

Ok, so can you please correct the title of this issue? Currently, it says “doesn’t work with React version 15.5” and you just confirmed that it works but is deprecated. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

React v15.5 update causes breaking changes #36 - GitHub
Molecule3D dependency doesn't work with React version 16.0 and above plotly/dash-bio#313. Closed. React 16 compatibility #37. Open.
Read more >
React v16.0 – React Blog
We're excited to announce the release of React v16.0! Among the changes are some long-standing feature requests, including fragments, ...
Read more >
Unable to resolve dependency tree Reactjs - Stack Overflow
What this error basically says is that react-tinder-card@1.3.1 in it's peer dependencies has react@"^16.8.0" . So it needs that version of ...
Read more >
Package List — Spack 0.20.0.dev0 documentation
This is a list of things you can install using Spack. It is automatically generated based on the packages in this Spack version....
Read more >
Bug listing with status UNCONFIRMED as at 2022/12/22 02 ...
Bug:128538 - "sys-apps/coreutils: /bin/hostname should be installed from coreutils not sys-apps/net-tools" status:UNCONFIRMED resolution: severity:enhancement ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found