-
-
Notifications
You must be signed in to change notification settings - Fork 41
React 16.13 #92
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
React 16.13 #92
Changes from all commits
260b9d0
05874f1
0028d4e
176cf8a
5a64a7a
a2d7b6c
53438bc
ea91384
c1c2181
94d8575
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { default as Input } from 'react-numeric-input'; | ||
|
||
Input.prototype.UNSAFE_componentWillMount = Input.prototype.componentWillMount; | ||
Input.prototype.UNSAFE_componentWillReceiveProps = Input.prototype.componentWillReceiveProps; | ||
Input.prototype.UNSAFE_componentWillUpdate = Input.prototype.componentWillUpdate; | ||
|
||
delete Input.prototype.componentWillMount; | ||
delete Input.prototype.componentWillReceiveProps; | ||
delete Input.prototype.componentWillUpdate; | ||
|
||
export default Input; |
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This component is old and not maintained, this makes it work without warnings in React 16.12+