@utiliser/react-hooks
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

@utiliser logo

a simple collections of react hooks

🧪 Explore

📖 Prerequisite

🪝 Install

using NPM:

npm install @utiliser/react-hooks

using Yarn:

yarn add @utiliser/react-hooks

💅 Usage

import { useOnline } from '@utiliser/react-hooks'

const App = () => {
	const { isOnline } = useOnline()

	return <p>{isOnline ? 'Online' : 'Offline'}</p>
}

export default App

✨ Inspired By

🥷 Crafted

📃 License

MIT License © 2022-PRESENT Virak Khun

Package Sidebar

Install

npm i @utiliser/react-hooks

Weekly Downloads

0

Version

1.1.1

License

MIT

Unpacked Size

15.3 kB

Total Files

8

Last publish

Collaborators

  • virakkhun