Put skyscanner widget into Meteor app

Hi guys, I’m having difficulties putting a Skyscanner (Momondo too) free widget into my Meteor app. I’m using React + Meteor.

This is the code I should put into my website.

<div data-skyscanner-widget="SearchWidget" data-origin-geo-lookup="true"></div>

<script src="https://widgets.skyscanner.net/widget-server/js/loader.js" async></script>

I tried putting the tag into my main.html file, which contains . I put < div > into a component. What I do wrong?

react has virtual dom that means it quite simply wont get rendered unless react knows what it is, which it doesn’t. there may be react documentation for this.