Projetos
Ver no GitHub
latviancoder/useJquery
Sobre
An essential hook for your React applications.
Desenvolvimento web e de aplicativosCrescimento medido de estrelas
- em 24 h
- 0
- em 7 dias
- 0
- em 15 dias
- 0
- em 1 mês
- Coletando histórico
Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.
README.md
OriginaluseJquery - An essential hook for your React applications
You know how they say the only thing Internet Explorer is good for is downloading other browsers? In a similar manner the only reasonable way to use React for building real-world applications is by combining it with jQuery, powerful framework for Web artisans.
Install
$ yarn add react-use-jquery
or
$ npm install --save react-use-jquery
Usage
import React, { useEffect } from 'react';
import useJquery from 'react-use-jquery';
export default function App() {
const $ = useJquery();
useEffect(() => {
if ($) {
$('.App').html('Hello world');
}
}, [$]);
return <div className="App" />;
}
Explore projetos relacionados
Carregando…