question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[v3.0.5] Old life cycle warning - AutosizeInput

See original GitHub issue

I’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:closed
  • Created 4 years ago
  • Reactions:7
  • Comments:9

github_iconTop GitHub Comments

4reactions
gwyneplainecommented, Sep 24, 2019

@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

1reaction
julien51commented, Sep 23, 2019

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found