New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-jquery-plugin

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-jquery-plugin

[![NPM](https://img.shields.io/npm/v/react-jquery-plugin.svg)](https://www.npmjs.com/package/prestein-dante) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

Source
npmnpm
Version
1.1.5
Version published
Weekly downloads
1.4K
33.74%
Maintainers
1
Weekly downloads
 
Created
Source

React jquery plugin

NPM JavaScript Style Guide

This tool will help you to use jquery plugins like easing, ScrollMagic, Nice Select,etc.. in react very easy.

Install

npm install --save react-jquery-plugin

Usage

import React, { Component } from 'react'

import { $ }  from 'react-jquery-plugin'

class Example extends Component {
  componentDidMount() {
    $(window).scroll(() => {
     // put your code here
    });
  }
  render () {
    return (
      <div>
        <h1>Hello there</h1>
      </div>
    )
  }
}

or

import React, { Component } from 'react'

import 'react-jquery-plugin'

class Example extends Component {
  componentDidMount() {
    window.$(window).scroll(() => {
     // put your code here
    });
  }
  render () {
    return (
      <div>
        <h1>Hello there</h1>
      </div>
    )
  }
}

Show your support

Give a ⭐️ if you like this project!

Acknowledgments

  • I would like to thank our code reviewer and anyone else who participated in making this done.

📝 License

This project is MIT licensed.

Keywords

node

FAQs

Package last updated on 17 Dec 2020

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