React Discus counter component
npm install --save react-disqus-counter
import React, { Component } from 'react'
import ReactDisqusCounter from 'react-disqus-counter'
class App extends Component {
// This sound file may not work due to cross-origin setting
render () {
return (
<ReactDisqusCounter
url='http://mywebsite/posts/my-post'
shortname='my-disqus-shortname'
/>
)
}
}
MIT