-
Notifications
You must be signed in to change notification settings - Fork 335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning: componentWillReceiveProps has been renamed #134
Comments
Yes. I've created a pull request and hopefully he'll accept it. |
FWIW, this is only a dev mode issue. As noted in the PR, will take a look soon and figure out how to go about versioning. |
same problem |
Same here, I would appreciate a fix any time soon. :) |
This package is great, would love to see the deprecation warning resolved 👍 |
Hello, any news on this ? |
Any update on this please? |
This is pretty annoying noise during dev. |
This is indeed very annoying. I would appreciate it, if this could be resolved. The PR has been open for 5 months. |
@trm217 Took me 10mn to switch to this lib https://github.com/rosskhanas/react-qr-code#readme |
I was actually using that and I think it took me less than 10 minutes to switch to this when for some reason it was giving me some trouble with my npm/vite configuration. |
Hello, any news on this ? |
Any updates? |
Just tried it today on my 17.0.2, same error. I guess they gave up after version 1.0.1 |
+1 |
1 similar comment
+1 |
@zpao Any update on this? We have some PR already ongoing, can be merged? It is just a few lines if we are not be backward compatible, may be just publish a new version for such breaking change. static getDerivedStateFromProps(props, state) {
const currentSrc = state.imageSrc;
const nextSrc = props.imageSettings?.src;
if (currentSrc !== nextSrc) {
return {imgSrc: nextSrc, imgLoaded: false};
}
} |
+1 |
- Native TS support - Better maintained - Removes React 16 warning: zpao/qrcode.react#134
Any update???? |
There's no way to fix this and support the same version range (down to 15.x), so I'm not going to in this major version (1.x). In order to use the I have a rewrite pending which will have a lower bound of React 16.8 (using hooks), which you can track in #169. |
Thanks!
Sent from Yahoo Mail on Android
On Wed, Feb 23, 2022 at 1:54 PM, Paul ***@***.***> wrote:
There's no way to fix this and support the same version range (down to 15.x), so I'm not going to in this major version (1.x). In order to use the unsafe_* lifecycle methods, I'd have to bump that lowest support version to 16.3.
I have a rewrite pending which will have a lower bound of React 16.8 (using hooks), which you can track in #169.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.Message ID: ***@***.***>
|
It appears that
QRCodeCanvas
uses a deprecated method.Is this a known issue?
The text was updated successfully, but these errors were encountered: