Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tonysepia opened this issue Aug 31, 2019 · 0 comments
Open

Comments

@tonysepia
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant