> For the complete documentation index, see [llms.txt](https://help.iviva.com/uxp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.iviva.com/uxp/hooks/useresizeeffect.md).

# useResizeEffect

This hook allows you to check if the widget has resized. You can update the widget if necessary (if has resized)

## Installation

```tsx
import {useResizeEffect} from 'uxp/components';
```

## Examples

```tsx
To check if widget has been resized
```

let hasResized = useResizeEffect(props.instanceId);

```
```
