Install SDK
This topic describes the steps necessary to install the Optimizely JavaScript (React) SDK.
The React SDK can be used in both ReactJS and React Native environments, and is distributed through npm. Add it to your package with NPM:
npm install --save @optimizely/react-sdk
or with Yarn:
yarn add @optimizely/react-sdk
The full source code is at https://github.com/optimizely/react-sdk.
Requirements
The React SDK requires an ES5-compatible environment, as well as Promise
. To run in environments that do not support promises, you can use promise-polyfill.
Updated 4 months ago
Did this page help you?