Skip to content

componentWillMount has been renamed, and is not recommended for use. #300

Open
@tonysepia

Description

@tonysepia

Hi!

I am importing Checkbox and TextField from redux-form-material-ui, like this:
import { Checkbox, TextField } from "redux-form-material-ui";

Getting a warning in console:

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

I tried running
npm install --save redux-form-material-ui
and am presently on version: [email protected]

I initially thought that the message comes from redux-form-material-ui using these hooks. However, when I search this repository for the hook names I can't find anything! Where is the message coming from?

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