Installation
Please note that the Flagship React SDK is designed to work exclusively with React hooks.
Our React SDK is tailored to work with React hooks. If you're looking to use our SDK without hooks, we recommend using our Javascript SDKinstead.
Prerequisites
- Node.js: version 6.0.0 or later
- Npm: version 5.2.0 or later
- React: version 16.8.0 or later (Please note that our SDK is only compatible with React hooks)
Installation Guide
To add the SDK as a dependency to your project, you can use either NPM or YARN:
npm install @flagship.io/react-sdk
yarn add @flagship.io/react-sdk
These commands will install the Flagship React SDK into your project, allowing you to start integrating Flagship features into your application.
Updated 5 months ago