We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65b802b + d7f0c85 commit 8058b89Copy full SHA for 8058b89
src/index.js
@@ -110,7 +110,7 @@ class Interactive extends React.Component {
110
}
111
112
113
- componentWillReceiveProps(nextProps) {
+ UNSAFE_componentWillReceiveProps(nextProps) {
114
// set if the `topNode` needs to be updated in componentDidUpdate => `as` is different
115
// and not a string, note that if `as` is a new string, then the `refCallback`
116
// will be called by React so no need to do anything in componentDidUpdate
0 commit comments