Skip to content

Commit 2897070

Browse files
Polishing
1 parent 4b6a28d commit 2897070

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

MIGRATION-GUIDE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The `useSplitClient` hook is called without providing an `splitKey` param, meani
6464

6565
- **High-Order-Components (`withSplitClient`, `withSplitTreatments`) and components that accept a render function as child component (`SplitTreatments`, and `SplitClient`) have been deprecated and might be removed in a future major release.**
6666

67-
The deprecation is intended to simplify the API and discourage the use of old patterns (HOCs and render props) in favor of hook alternatives to take advantage of React optimizations.
67+
The deprecation is intended to simplify the API and discourage using old patterns (HOCs and render props) in favor of the *hook* alternatives, to take advantage of React optimizations.
6868

6969
To migrate your existing code based on `withSplitClient` or `SplitClient`, consider the following refactor using the `useSplitClient` hook:
7070

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This SDK is designed to work with Split, the platform for controlled rollouts, w
99

1010
## Compatibility
1111

12-
This SDK is compatible with React 16.8.0 and above, since it uses **React Hooks** introduced in that version.
12+
This SDK is compatible with React 16.8.0 and above, since it uses **React Hooks API** introduced in that version.
1313

1414
## Getting started
1515
Below is a simple example that describes the instantiation and most basic usage of our SDK:

0 commit comments

Comments
 (0)