Socket
Socket
Sign inDemoInstall

react-disqus-thread

Package Overview
Dependencies
21
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-disqus-thread

React Disqus thread component


Version published
Weekly downloads
145
increased by39.42%
Maintainers
1
Install size
7.96 kB
Created
Weekly downloads
 

Readme

Source

react-disqus-thread

React Disqus thread component

Installing

$ npm install react-disqus-thread
# or
$ bower install react-disqus-thread

Demo

http://mzabriskie.github.io/react-disqus-thread/example

Example

var React = require('react');
var ReactDisqusThread = require('react-disqus-thread');

var App = createClass({
	
	handleNewComment: function(comment) {
		console.log(comment.text);
	}

	render: function () {
		return (
			<ReactDisqusThread
				shortname="example"
				identifier="something-unique-12345"
				title="Example Thread"
				url="http://www.example.com/example-thread"
				category_id="123456"
				onNewComment={this.handleNewComment}/>
		);
	}
});

React.render(<App/>, document.getElementById('container'));

License

MIT

Keywords

FAQs

Last updated on 31 May 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc