Skip to main content
Glama

refactor_component

Refactor React Native components to improve performance, maintainability, accessibility, type safety, or adopt modern patterns. Provides expert-level suggestions and implementations for code optimization.

Instructions

Provide expert-level refactoring suggestions and implementations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYesReact Native component code to refactor
refactor_typeYesType of refactoring to apply
target_rn_versionNoTarget React Native version for refactoring
include_testsNoWhether to include test updates

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MrNitro360/React-Native-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server