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
We are encountering this warning when we run our meteor app with non-minified bundle.
The warning shows that the iframe tag on client side shows extra line breaks as compared to server side.
Below is the warning we are seeing:
Warning: Prop dangerouslySetInnerHTML did not match. Server: "<iframe src="//www.googletagmanager.com/ns.html?id=GTM-XXXXXX" height="0" width="0" style="display:none;visibility:hidden"></iframe>" Client: "\n <iframe src="//www.googletagmanager.com/ns.html?id=GTM-XXXXXX"\n height="0" width="0" style="display:none;visibility:hidden"></iframe>"
I think this probably happening due to the line breaks within template literals as they get preserved in code here. Can possibly use a backslash (\) in that case.
These warnings are being shown on new env that we are setting up:
Meteor 1.7.0.1
Node 8.11.2
React 16.4.0
The warning was not fired when we running on this env:
Meteor 1.5.1
Node 4.8.4
React 15.5.x
Can you please help?
Thanks.
The text was updated successfully, but these errors were encountered:
We are encountering this warning when we run our meteor app with non-minified bundle.
The warning shows that the iframe tag on client side shows extra line breaks as compared to server side.
Below is the warning we are seeing:
I think this probably happening due to the line breaks within template literals as they get preserved in code here. Can possibly use a backslash (\) in that case.
These warnings are being shown on new env that we are setting up:
The warning was not fired when we running on this env:
Can you please help?
Thanks.
The text was updated successfully, but these errors were encountered: