Skip to content

Get rid of legacy lifecycle methods #17

@NDungurothu

Description

@NDungurothu

Please refactor the code to avoid these warning:

Please update the following components: Experiment
Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

  • Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.

Please update the following components: Treatment
Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

  • Move code from componentWillMount to componentDidMount (preferred in most cases) or the constructor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions