rename_path
Rename keys in React component props, state, hooks, or context to update debugging information during development.
Instructions
Rename a key in props/state/hooks/context
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Element ID | |
| target | Yes | Target | |
| hookIndex | No | Hook index (if target is hooks) | |
| path | Yes | Path to the key | |
| oldKey | Yes | Old key name | |
| newKey | Yes | New key name |