You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Place any of the AutoControlledComponents in your app
Expected Result
It should render without warning
Actual Result
It renders with the warning Warning: Dropdown.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.
Version
0.68.5
Testcase
It seems to be caused by this line: src/lib/AutoControlledComponent.js:149. I'll open a PR shortly so we can continue to fully support React 16.
The text was updated successfully, but these errors were encountered:
Steps
AutoControlledComponent
s in your appExpected Result
It should render without warning
Actual Result
It renders with the warning
Warning: Dropdown.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.
Version
0.68.5
Testcase
It seems to be caused by this line:
src/lib/AutoControlledComponent.js:149
. I'll open a PR shortly so we can continue to fully support React 16.The text was updated successfully, but these errors were encountered: