I want to add the Twitter widget into React, but I don\'t know where to start or how to do it. I am very new to React JS.
Here is the HTML version of the code:
First load Widget JS in your index.html(before your React scripts). Then in your component, simply do the following. The widget JS will rescan the DOM.
componentDidMount: function() { twttr.widgets.load() }
See: https://dev.twitter.com/web/javascript/initialization