Socket
Socket
Sign inDemoInstall

react-disqus-comments

Package Overview
Dependencies
8
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-disqus-comments

React Disqus thread component


Version published
Weekly downloads
793
decreased by-18.16%
Maintainers
1
Install size
42.9 kB
Created
Weekly downloads
 

Readme

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

Last updated on 19 Oct 2018

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