Proyek
Lihat di GitHub
latviancoder/useJquery
Tentang
An essential hook for your React applications.
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- 0
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliuseJquery - 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" />;
}
Jelajahi proyek terkait
Memuat…