redux-form-material-ui icon indicating copy to clipboard operation
redux-form-material-ui copied to clipboard

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

Open tonysepia opened this issue 6 years ago • 0 comments

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?

tonysepia avatar Aug 31 '19 11:08 tonysepia