Closed struckm closed 8 years ago
When my component unmounts prior to the ScriptLoader finishing loading the scripts I get the following error:
"setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component."
The ScriptLoader should be listening for componentWillUnmount and not call the setState.
Merged, thanks for your contibution.
When my component unmounts prior to the ScriptLoader finishing loading the scripts I get the following error:
"setState(...): Can only update a mounted or mounting component. This usually means you called setState() on an unmounted component."
The ScriptLoader should be listening for componentWillUnmount and not call the setState.