Skip to main content

React SDK Installation

Npm package version GitHub

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 support@devcycle.com.