Skip to content

Commit 1663d01

Browse files
authored
fix: React SDK null client handling (#149)
# Summary Handle React SDK fail catching if ._client returns null when creating new ReactClientSDK instance from `createInstance` function. # Test Plan Manually tested thoroughly. All existing unit tests pass. # Issues #134
1 parent 49ba62d commit 1663d01

File tree

5 files changed

+775
-69
lines changed

5 files changed

+775
-69
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1212

1313
- fixed issue [#121](https://github.com/optimizely/react-sdk/issues/121):`ActivateListenerPayload` and `TrackListenerPayload` types were exported from `@optimizely/optimizely-sdk` but were missing from `@optimizely/react-sdk` exports. ([#150](https://github.com/optimizely/react-sdk/pull/150)).
1414

15+
### Bug fixes
16+
- Fixed issue [#134](https://github.com/optimizely/react-sdk/issues/134) of the React SDK crashing when the internal Optimizely client returns as a null value. [PR #149](https://github.com/optimizely/react-sdk/pull/149)
17+
1518
## [2.8.0] - January 26, 2022
1619

1720
### New Features

0 commit comments

Comments
 (0)