-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: findDOMNode was called on an unmounted component #43
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using react-gpt on React 15.0.1 and In some cases the message below is printed in the console as a warning. It does not seem to interfere with ads. I think the issue may be related to this line in the
foldCheck
method. When I setrenderWhenViewable
false, I do not get the warning. Please let me know your thoughts.Thank you for creating this very useful component!
Console Message:
Ad: Failed to load gpt for //www.googletagservices.com/tag/js/gpt.js Error: findDOMNode was called on an unmounted component.
at invariant (webpack:///./
/fbjs/lib/invariant.js?:44:15)/react/lib/findDOMNode.js?:50:21)at Object.findDOMNode (webpack:///./
at Bling.foldCheck (webpack:///./
/react-gpt/lib/Bling.js?:250:79)/react-gpt/lib/Bling.js?:219:22)at Bling.onScriptLoaded (webpack:///./
at
From previous event:
at Bling.componentDidMount (webpack:///./
/react-gpt/lib/Bling.js?:124:62)/react/lib/CallbackQueue.js?:66:22)at CallbackQueue.notifyAll (webpack:///./
at ReactReconcileTransaction.close (webpack:///./
/react/lib/ReactReconcileTransaction.js?:79:26)/react/lib/Transaction.js?:202:25)at ReactReconcileTransaction.closeAll (webpack:///./
at ReactReconcileTransaction.perform (webpack:///./
/react/lib/Transaction.js?:149:16)/react/lib/Transaction.js?:136:20)at ReactUpdatesFlushTransaction.perform (webpack:///./
at ReactUpdatesFlushTransaction.perform (webpack:///./
/react/lib/ReactUpdates.js?:89:38)/react/lib/ReactUpdates.js?:165:19)at flushBatchedUpdates (webpack:///./
at wrapper (webpack:///./
/react/lib/ReactPerf.js?:66:21)/react/lib/ReactUpdates.js?:47:7)at ReactUpdatesFlushTransaction.close (webpack:///./
at ReactUpdatesFlushTransaction.closeAll (webpack:///./
/react/lib/Transaction.js?:202:25)/react/lib/Transaction.js?:149:16)at ReactUpdatesFlushTransaction.perform (webpack:///./
at ReactUpdatesFlushTransaction.perform (webpack:///./
/react/lib/ReactUpdates.js?:89:38)/react/lib/ReactUpdates.js?:165:19)at Object.flushBatchedUpdates (webpack:///./
at Object.wrapper [as flushBatchedUpdates] (webpack:///./
/react/lib/ReactPerf.js?:66:21)/react/lib/Transaction.js?:202:25)at ReactDefaultBatchingStrategyTransaction.closeAll (webpack:///./
at ReactDefaultBatchingStrategyTransaction.perform (webpack:///./
/react/lib/Transaction.js?:149:16)/react/lib/ReactDefaultBatchingStrategy.js?:63:19)at Object.batchedUpdates (webpack:///./
at Object.enqueueUpdate (webpack:///./~/react/lib/ReactUpdates.js?:194:22)
The text was updated successfully, but these errors were encountered: