Skip to content
This repository was archived by the owner on Aug 23, 2022. It is now read-only.
This repository was archived by the owner on Aug 23, 2022. It is now read-only.

Rename lifecycle methods for React v. 17+ #1231

@notnotzero

Description

@notnotzero

The Problem

React v.17 + doesnt support methods componentWillMount and componentWillReceiveProps. Please, replace them with UNSAFE_componentWillReceiveProps and UNSAFE_componentWillMount

Steps to Reproduce

Expected Behavior

Actual Behavior

Reproducible Code Example

(please fork from this CodePen template or this CodeSandbox template)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions