# @cassette/hooks

**`@cassette/hooks`** provides [React Hooks](https://reactjs.org/docs/hooks-intro.html) for consuming playerContext and fullscreenContext from inside function components. It requires React 16.8.0 or greater.

### Installation

```console
npm install @cassette/hooks
```

#### Hooks included:
* `useFullscreenContext` - used to read and update the state of the surrounding `fullscreenContext`
* `usePlayerContext` - used to read and update the state of the surrounding `playerContext`

### Find full documentation [here](https://benwiley4000.github.io/cassette/styleguide/#cassettehooks)!
