---
title: React-SDK - 2.9.0
slug: feature-experimentation/release-notes/react-sdk-2-9-0
docTags: 
createdAt: 2026-07-20T15:45:26.673Z
---

## [#290---june-15-2022](docId\:XPBT4NV55lXKN2DnFziQc)\[2.9.0] - June 15, 2022

### [#bug-fixes](docId\:XPBT4NV55lXKN2DnFziQc)Bug fixes

- addresses issues [#152](https://github.com/optimizely/react-sdk/issues/152) and [#134](https://github.com/optimizely/react-sdk/issues/134): Gracefully returns pessimistic default values when hooks fail instead of throwing an error.
- fixed issue [#156](https://github.com/optimizely/react-sdk/issues/156) - Added children prop to make the SDK compatible with React 18([#158](https://github.com/optimizely/react-sdk/pull/158)).
- Updates React SDK to use React 18 and fixed related typescript issues ([#159](https://github.com/optimizely/react-sdk/pull/159)).
- Replaces `enzyme` with `react testing library` to make unit tests work with React 18 ([#159](https://github.com/optimizely/react-sdk/pull/159)).

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