React
Welcome to the Comprehensive Guide for Flagship ReactJS SDK!
This documentation is your one-stop resource for integrating Flagship into your ReactJs ecosystem, whether it's client-side or server-side. Our library comes with preconfigured methods designed to simplify the implementation of the Decision API or Bucketing Mode. Let's get started on enhancing your development experience with Flagship!
- Installation: Step-by-step instructions to set up Flagship in your environment.
- Quick Start: Get up and running with Flagship in no time.
- Reference: Detailed API documentation for in-depth understanding.
SDK features
This version of the SDK lets you :
- Set a visitor ID
- Update visitor context
- Assign campaigns via the Decision API or via Bucketing Mode
- Get flag
- Manage visitor consent
- Use Experience Continuity
- Activate campaigns
- Send hits to our Universal Collect
- Manage visitor cache
Prerequisites
- Node.js: version 6.0.0 or later
- Npm: version 5.2.0 or later
- React: version 16.8.0 or later (the SDK only supports hooks for now)
Good to know
- Github repository
- Gzipped size: ~24.1 kB
- Typescript code supported
Versions
The latest version of our ReactJs SDK is 4.0.1.
Change logs
Find the versions change logs on our Github Repository
Former versions
The documentation of the past versions are available here.
Contact us
Feel free to contact us if you have any questions regarding this documentation.
Updated 5 months ago