-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ReactWebChat - defaultProps will be removed #4836
Comments
Thanks for letting us know |
Note to myself: when working on this, also fix another React warning which only appears when using Web Chat via |
any update of this? |
any update? |
any updates? in which version we can expect the fix? |
It's been 11 months and this has not been resolved yet. Do we expect a fix soon? |
I attempted a draft fix of this in #5278. Let me know what you all think |
Is it an issue related to Adaptive Cards?
No
Is this an accessibility issue?
No
What version of Web Chat are you using?
Latest production
Which distribution are you using Web Chat from?
Bundle (webchat.js)
Which hosting environment does this issue primarily affect?
Web apps
Which browsers and platforms do the issue happened?
No response
Which area does this issue affect?
Development experience
What is the public URL for the website?
No response
Please describe the bug
I am using the react component in version 4.15.9.
I find that I get a lot of alerts like "Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead"
Clearly in future versions of react, defaultProps is going to be removed.
Do you see any errors in console log?
How to reproduce the issue?
render
What do you expect?
Release a fix to stop using defaultProps
What actually happened?
Do you have any screenshots or recordings to repro the issue?
Adaptive Card JSON
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: