Skip to main content

React SDK Installation

Npm package version GitHub

AI-Powered Install

MCP Install

Follow the MCP Getting Started guide to quickly set up the DevCycle MCP server and connect your AI tool.

  • Run this prompt: "Install DevCycle into this app"

📦 Install in Cursor

📦 Install in VS Code

claude mcp add --transport http devcycle https://mcp.devcycle.com/mcp
AI Prompt

Requirements

This SDK is compatible with React versions 16.8.0 and above.

Installation

To install the SDK, run the following command:

npm

npm install --save @devcycle/react-client-sdk

yarn

yarn add @devcycle/react-client-sdk

Using With React 17

For React 17.x, there is an underlying issue for how the React Runtime is resolved.

The interim fix, is to add an alias resolution to your build configuration for 'react/jsx-runtime': require.resolve('react/jsx-runtime').

For more information, please review these Github Issues React Issue, Create React App Issue & related PR React Runtime PR.

For additional help, please contact DevCycle support at [email protected].