0.9.0 • Published 1 year ago

@mrcaidev/hooks v0.9.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

✨ Introduction

@mrcaidev/hooks is a collection of useful React hooks.

  • Highly customizable: Good defaults, with easy customization.
  • 100% in TypeScript: Unleash the full power of typing system.
  • Ready for SSG/SSR: Works on both server and browser.
  • Tiny and treeshakable: <3KB gzipped. Tree-shaking supported.

🚀 Getting started

@mrcaidev/hooks is available in npm registry.

npm i @mrcaidev/hooks     # Use npm
yarn add @mrcaidev/hooks  # Use yarn
pnpm add @mrcaidev/hooks  # Use pnpm

And then import the hook you want to use:

import { useBoolean } from "@mrcaidev/hooks";

const Component = () => {
  const { value, toggle } = useBoolean();
  return ...;
};

Please see the documentation for more information.

🧰 Built with

TypeScript React Vitest Testing Library pnpm Vite Turborepo ESLint Prettier Commitlint EditorConfig Husky Lint staged

📜 License

MIT

0.9.0

1 year ago

0.8.1

1 year ago

0.8.0

1 year ago

0.7.0

2 years ago

0.6.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago