0.2.3 • Published 12 months ago
@storency/hooks v0.2.3
@storency/hooks
Welcome to Storency hooks! This package includes a set of common React hooks for building Storency applications.
Features
- Reusable: Collection of commonly used React hooks to simplify your code.
- Composable: Easily combine hooks to create custom logic.
- Well-tested: Hooks are tested to ensure reliability and stability.
Installation
To install the @storency/hooks
package, run:
pnpm install @storency/hooks
# or
npm install @storency/hooks
Usage
To use the hooks, simply import them into your project:
import { useCustomHook } from '@storency/hooks';
const App = () => {
const customValue = useCustomHook();
return <div>{customValue}</div>;
};