> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Component

This page documents the `Component` CDP domain supported by Lynx DevTool.



:::warning Experimental reference
This generated reference is still being completed.

- CDP events are not included yet.
- Some Lynx extensions are listed but do not yet have detailed documentation.
- Method descriptions are not automatically verified against the implementation and may be incomplete or inaccurate.

Verify behavior against the implementation and the linked upstream CDP reference before relying on it.
:::

## Overview

- Scope: `global-and-instance`
- CDP domain: Lynx-specific

## Lynx Extensions

### `Component.uselessUpdate`

Echoes a Component.uselessUpdate message with the request params.

- Origin: `lynx-extension`
- Source: `devtool/lynx_devtool/agent/domain_agent/inspector_component_agent.cc`

###### Parameters

| Name     | Type     | Required | Description                                                                                            |
| -------- | -------- | -------- | ------------------------------------------------------------------------------------------------------ |
| `params` | `object` | No       | Opaque payload copied from the request params field into the outgoing Component.uselessUpdate message. |

###### Returns

No return fields.

###### Events

- Component.uselessUpdate

###### Notes

- The handler does not send a normal CDP response with id and result fields.
- The outgoing CDP message has method Component.uselessUpdate and params copied from the request.
- The native implementation does not inspect or validate the params payload.

###### Examples

**Echo a component update payload**

Request:

```json
{
  "id": 1,
  "method": "Component.uselessUpdate",
  "params": {
    "componentId": "comp-1",
    "reason": "debug"
  }
}
```

Response:

```json
{
  "method": "Component.uselessUpdate",
  "params": {
    "componentId": "comp-1",
    "reason": "debug"
  }
}
```

