Open papuruth opened 3 years ago
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch react-reveal@1.2.2 for the project I'm working on.
react-reveal@1.2.2
Here is the diff that solved my problem:
diff --git a/node_modules/react-reveal/src/RevealBase.js b/node_modules/react-reveal/src/RevealBase.js index b7df761..80694fe 100644 --- a/node_modules/react-reveal/src/RevealBase.js +++ b/node_modules/react-reveal/src/RevealBase.js @@ -370,7 +370,7 @@ class RevealBase extends React.Component { }; } - componentWillReceiveProps (props) { + UNSAFE_componentWillReceiveProps (props) { if (props.when !== undefined) this.isOn = !!props.when; if (props.fraction !== this.props.fraction)
This issue body was partially generated by patch-package.
Hi! π
Firstly, thanks for your work on this project! π
Today I used patch-package to patch
react-reveal@1.2.2
for the project I'm working on.Here is the diff that solved my problem:
This issue body was partially generated by patch-package.