open-index/open-npm huggingface dataset:
npm package: @jkob/react
Description: ??
Latest version: 1.1.2

# @jkob/react - Personal react components library

## Components

??

## Hooks

```ts
const date = useDate(); // return Date
// it updated the date very minute
```

```ts
const isDark = useMediaQuery("(prefers-color-scheme: dark)");
```

```ts
const isMobile = useMobile();
// return true if the screen width is less than 500px (default)
```

```ts
const [value, setValue] = useDebounce(0);

console.log(value); // 0
setValue(20);
console.log(value); // 0
// after 100ms
console.log(value); // 20
```