Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-disqus-comments

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-disqus-comments

React Disqus thread component

  • 1.4.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
140
decreased by-1.41%
Maintainers
1
Weekly downloads
 
Created
Source

react-disqus-comments

Installing

$ npm install react-disqus-comments

Example

import React from 'react';
import ReactDisqusComments from 'react-disqus-comments';

class App extends React.Component {
  handleNewComment(comment) {
    console.log(comment.text);
  }

  render() {
    return (
      <ReactDisqusComments
        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

Thanks

Thanks to mzabriskie for the original package. This package fixes annoying warnings.

Keywords

FAQs

Package last updated on 19 Oct 2018

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc