React-draft-wysiwyg: Warning: Can't call setState

Created on 6 Apr 2020  路  6Comments  路  Source: jpuri/react-draft-wysiwyg

When I click on the editor I get this warning in the console:

Warning: Can't call setState on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to this.state directly or define a state = {}; class property with the desired state in the r component.

I made a codeSandbox where it is too: https://codesandbox.io/s/brave-architecture-4zpm5

Most helpful comment

Any news about this warning?

All 6 comments

Its only in StrictMode I get the warning:
https://codesandbox.io/s/strange-monad-lxtuu?file=/src/index.js

@sirvival3 did you find the solution of this issue. I am getting same problem?

Is there any solution to this? I am getting the same error.

Me too

Same error

Any news about this warning?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Leadrive picture Leadrive  路  3Comments

DiegoGallegos4 picture DiegoGallegos4  路  4Comments

dahudson88 picture dahudson88  路  3Comments

regisBafutwabo picture regisBafutwabo  路  3Comments

MaDejing picture MaDejing  路  3Comments