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
I use your component and i unfortunately get this message: Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method. in FontPicker (at FontSelector.js:30)
my component using hooks, not classes I deduce from it that the error comes from your library.
if you implement it in react like your exemple yout will get 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 FontPicker component.
i hope this help you :)
The text was updated successfully, but these errors were encountered:
Hi.
I use your component and i unfortunately get this message:
Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method. in FontPicker (at FontSelector.js:30)
my component using hooks, not classes I deduce from it that the error comes from your library.
if you implement it in react like your exemple yout will get
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 FontPicker component.
i hope this help you :)
The text was updated successfully, but these errors were encountered: