This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 27
Lifecycle method componentWillReceiveProps is deprecated #95
Comments
@yesmeck Do you need PR to replace |
@veeramarni Yes |
Just run: npx react-codemod rename-unsafe-lifecycles (or rename manually componentWillReceiveProps to UNSAFE_ componentWillReceiveProps) |
Replace componentWillReceiveProps with:
|
@yesmeck are you fixing this deprecation issue? |
I am interested in this issue as well. |
PRs are welcome
…On Sun, Oct 20, 2019 at 14:10 dchavours ***@***.***> wrote:
I am interested in this issue as well.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#95?email_source=notifications&email_token=AADRRZKOTZTK5YSQAKLVJJLQPPY65A5CNFSM4GT7Z5LKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBYDGXI#issuecomment-544224093>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADRRZKBYNLFPNHMKWPHG5LQPPY65ANCNFSM4GT7Z5LA>
.
|
@yesmeck I wanna create a PR but I don't have a permission? |
@leo-esaki You need to fork this repo before creating a PR. |
Released 4.0.0 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Will there be any updates to the package so that it no longer uses the deprecated lifecycle method
componentWillReceiveProps
?Ref https://reactjs.org/docs/react-component.html#unsafe_componentwillreceiveprops
connectModal, for example, uses it:
redux-modal/src/connectModal.ts
Line 39 in 3bacc12
The text was updated successfully, but these errors were encountered: