---
title: React-SDK - 2.0.0-alpha.1
slug: feature-experimentation/release-notes/react-sdk-2-0-0-alpha-1
docTags: 
createdAt: 2026-07-20T15:45:11.844Z
---

\## \[2.0.0-alpha.1] - March 18th, 2020

\### Breaking Changes

\- Changed supported React version to 16.8+

\### New Features

\- Refactored \`\` to a functional component that uses the \`useFeature\` hook under the hood. See \[#32]\([https://github.com/optimizely/react-sdk/pull/32](https://github.com/optimizely/react-sdk/pull/32)) for more details.

\- Refactored \`\` to a functional component that uses the \`useExperiment\` hook under the hood. See \[#36]\([https://github.com/optimizely/react-sdk/pull/36](https://github.com/optimizely/react-sdk/pull/36)) for more details.

\- Added \`useExperiment\` hook

\- Can be used to retrieve the variation for an experiment. See \[#36]\([https://github.com/optimizely/react-sdk/pull/36](https://github.com/optimizely/react-sdk/pull/36)) for more details.

\- Added \`useFeature\` hook
\- Can be used to retrieve the status of a feature flag and its variables. See \[#28]\([https://github.com/optimizely/react-sdk/pull/28](https://github.com/optimizely/react-sdk/pull/28)) for more details.

\### Enhancements

\- Exposed the entire context object used by \`\`.
\- Enables support for using APIs which require passing reference to a context object, like \`useContext\`. \[#27]\([https://github.com/optimizely/react-sdk/pull/27](https://github.com/optimizely/react-sdk/pull/27)) for more details.

[https://github.com/optimizely/react-sdk/releases/tag/2.0.0-alpha.1](https://github.com/optimizely/react-sdk/releases/tag/2.0.0-alpha.1)
