# useAlepha

## Import

```typescript
import { useAlepha } from "alepha/react";
```

## Overview

Main Alepha hook.

It provides access to the Alepha instance within a React component.

With Alepha, you can access the core functionalities of the framework:

- alepha.state() for state management
- alepha.inject() for dependency injection
- alepha.events.emit() for event handling
  etc...
