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
index.js:1 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.statedirectly or define astate = {}; class property with the desired state in the Toolbar component. in Preview (created by ReactFormBuilder) in div (created by ReactFormBuilder) in div (created by ReactFormBuilder) in div (created by ReactFormBuilder) in Unknown (created by ReactFormBuilder) in ReactFormBuilder (at ApplicationBuilder.js:11) in div (at Dashboard.js:16) in div (at Dashboard.js:13) in div (at Dashboard.js:12) in div (at Dashboard.js:9) in Dashboard (at ApplicationBuilder.js:8) in ApplicationBuilder (created by Context.Consumer) in Route (at App.js:12) in Switch (at App.js:10) in Router (created by BrowserRouter) in BrowserRouter (at App.js:9) in App (at src/index.js:8) in StrictMode (at src/index.js:7)
The text was updated successfully, but these errors were encountered:
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.statedirectly or define astate = {}; class property with the desired state in the Toolbar component.
I am receiving 'Can't call setState on a component that is not yet mounted.' from Chrome Console when I try to use React Form Builder.
import React from "react";
import Dashboard from "../layouts/Dashboard";
import { ReactFormBuilder } from "react-form-builder2";
import "react-form-builder2/dist/app.css";
function ApplicationBuilder() {
return (
<Dashboard>
<h1>
Application Builder</h1>
<ReactFormBuilder />
</Dashboard>
);
}
export default ApplicationBuilder;
Here is the complete error.
index.js:1 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.statedirectly or define a
state = {};class property with the desired state in the Toolbar component. in Preview (created by ReactFormBuilder) in div (created by ReactFormBuilder) in div (created by ReactFormBuilder) in div (created by ReactFormBuilder) in Unknown (created by ReactFormBuilder) in ReactFormBuilder (at ApplicationBuilder.js:11) in div (at Dashboard.js:16) in div (at Dashboard.js:13) in div (at Dashboard.js:12) in div (at Dashboard.js:9) in Dashboard (at ApplicationBuilder.js:8) in ApplicationBuilder (created by Context.Consumer) in Route (at App.js:12) in Switch (at App.js:10) in Router (created by BrowserRouter) in BrowserRouter (at App.js:9) in App (at src/index.js:8) in StrictMode (at src/index.js:7)
The text was updated successfully, but these errors were encountered: