# React v4.0.X

#### 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](doc:archived-react-v4-js-installation): Step-by-step instructions to set up Flagship in your environment.
* [Quick Start](doc:archived-react-v4-js-quick-start): Get up and running with Flagship in no time.
* [Reference](doc:archived-react-v4-js-reference): Detailed API documentation for in-depth understanding.

## SDK features

This version of the SDK lets you :

* Set a [visitor ID](https://github.com/flagship-io/Gitbook/blob/main/docs/glossary/README.md#visitor-id)
* Update [visitor context](https://github.com/flagship-io/Gitbook/blob/main/docs/glossary/README.md#user-context)
* Assign campaigns via the [Decision API](https://github.com/flagship-io/Gitbook/blob/main/docs/decision-api/README.md#campaigns) or via [Bucketing Mode](https://github.com/flagship-io/Gitbook/blob/main/docs/bucketing/README.md)
* Get flag
* Manage visitor consent
* Use Experience Continuity
* Activate campaigns
* Send hits to our [Universal Collect](https://github.com/flagship-io/Gitbook/blob/main/docs/universal-collect-documentation/README.md)
* 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](https://github.com/abtasty/flagship-react-sdk)
* [Gzipped size: \~24.1 kB](https://bundlephobia.com/result?p=@flagship.io/react-sdk)
* Typescript code supported

## Versions

#### Change logs

Find the versions change logs on our [Github Repository](https://github.com/flagship-io/flagship-react-sdk/releases)

## Contact us

Feel free to [contact us](mailto:product.feedback@abtasty.com?subject=Flagship%20Developer%20Documentation) if you have any questions regarding this documentation.
