[v3.0.5] Old life cycle warning - AutosizeInput
See original GitHub issueI’m aware that this is an active issue that many users are aware of. However, from what I read it looks like one last warning got swept under the carpet while celebrating the release of 3.0.5. Which by the way, thank you for this, it cleared up a TON of warnings in my Unit Tests.
However… there is one last warning that wasn’t taken care of. It occurs in the AutosizeInput component and it uses “componentWillReceiveProps” This is the last warning that is clogging my tests and my console in my dev tools. I would really love to see a fix for this.
Again thanks for everything you’ve done thus far, I’m very grateful. Here’s what my console says:
console.warn node_modules/react-dom/cjs/react-dom.development.js:11494
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.
* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.
Please update the following components: AutosizeInput
Issue Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:9
Top Results From Across the Web
CRAN - Package lifecycle - R Project
Manage the life cycle of your exported functions with shared conventions, documentation badges, and user-friendly deprecation warnings.
Read more >Untitled
Playing for change 3 full, Th350 rear gear ratio, Serguey daniltchenko, Dark knight harvey two face, Zalal, Shroom effects on body, Blc-xq1b, Old...
Read more >ame-miniapp-components - UNPKG
node_modules/react-input-autosize/lib/AutosizeInput.js",". ... node_modules/react-lifecycles-compat/react-lifecycles-compat.es.js",".
Read more >Untitled
Through the cycle pd calculation, Freibad durmersheim saison, Dr murariu dan, ... Monolith brusspup mp3, Jenti bbs golf 3, Old school car parts...
Read more >React signup form example - CodePen
Code Indent width. 1, 2, 3, 4, 5, 6. Want to change your Syntax Highlighting theme, ... 3. <meta charset="UTF-8">. 4. <title>React Singup...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@devlemire I don’t have publishing rights to react-input-autosize, but I’ll have a chat with @JedWatson to get this sorted ASAP, thanks for bringing this to our attention
This is not quite a duplicate and more like a regression as this issue #3720 should have indeed been fixed by the
3.0.5
?