# Tree.activate

Sets the active tree item id without changing expansion.

## Signatures

```ts
export declare function activate<E, R>(state: RefSubject.RefSubject<State, E, R>, activeId: string | null): Effect.Effect<State, E, R>;
```


