# Function: useNetwork()

```ts
function useNetwork(): MeshStatus;
```

Defined in: [packages/react/src/use-network.ts:14](https://github.com/leifriksheim/minca/blob/main/react/src/use-network.ts#L14)

The node's relays and connections, across every space: which relays are
open, which are waiting to try again and why, and the peers connected or
being connected to. Changes as they do; `useNode().network.reconnect()`
tries a waiting relay now.

## Returns

[`MeshStatus`](https://minca.dev/api/core/interfaces/MeshStatus.md)
