We have updated our Data Processing Addendum, for more information – Click here.

Language

React SDK

Split’s React SDK provides robust, scalable feature flag management, giving any team the power to safely launch features and target them to users.

Why use the Split React SDK?

Split’s React SDK brings scalable feature flags to any app, website or experience built with React. Split helps teams control rollouts, and customer experiences, while gathering new data and insight on how their products are being engaged.

Front-end teams are always experimenting with new things, trying to make the website, the app, or the business more successful. But each new experiment or quickly-turned-around feature introduces risk—that response times will be slower, that a change in the funnel will add friction, that your users simply may not like the change. Split’s React SDK puts all of these issues under your control, by letting you:

  • Release features to production but disabled for all users by default
  • Target new features only to internal QA teams
  • Slowly roll out features to a broader audience by percentage, demographic, geography, account type, or any other metric
  • Kill features with a single click to revert back to your safe state

Split uses feature flags in React to work across many different languages, and lets developers, PMs and support teams control feature rollout from one unified view—and monitor the success of any new code. Our integrations bring rollout updates into the tools your team is already using, further opening the feature-delivery process up to your entire organization.

Using the React SDK instead of the JavaScript SDK

The React SDK is built on top of our JavaScript SDK to ease the integration in applications using React. The React SDK provides:

  • A set of components with their equivalent HOCs
  • Helper functions based on React hooks API to access underlying SDK functionality

For users of Redux using react-redux bindings, also consider the Redux SDK which offers some extra features for this use case.

Getting Started with Split for React

All of Split’s SDKs are very simple to integrate into your code base; that’s no different in React. All it really takes to get rolling with Split and feature flag implementation is initiating the SDK, then splitting your code.

View the documentation and start building today.

See other SDKs

Create Impact With Everything You Build

We’re excited to accompany you on your journey as you build faster, release safer, and launch impactful products.