initialize() {
var w = this.twitchSize.width;
var h = this.twitchSize.height;
var chan = this.twitchChannel;
var par = this.twitchParents;
this.twitchDiv = React.createElement('div', {id:"twitch-embed"});
this.twitchEmbed = new Twitch.Embed("twitch-embed", {
width: w, height: h, channel: chan, parent: par
}); // from this I get react-dom.production.min.js?ca5d:198 MissingElementError: Could not find the provided element: twitch-embed
if(!this.twitchEmbed) {
console.log("Can't create Twitch embed")
return;
}