Skip to content

Commit 9d9ab3d

Browse files
Lena's feedback
1 parent 7acd623 commit 9d9ab3d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

MIGRATION-GUIDE.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ const App = () => {
5959
};
6060
```
6161

62-
Notice that `MyComponent` was refactored to use the `useSplitClient` hook and is passed as a React JSX element rather than a render function.
63-
The `useSplitClient` hook is called without providing an `splitKey` param, meaning that the default client, which key is set in the `core.key` property of the `mySplitConfig` object, will be used, and the `updateOn` and `attributes` props are passed as options to the hook.
62+
Notice that `MyComponent` was refactored to use the `useSplitClient` hook and is passed as a React JSX element rather than a render function. The `useSplitClient` hook is called without providing a `splitKey` param. This means that the default client (whose key is set in the `core.key` property of the `mySplitConfig` object) will be used, and the `updateOn` and `attributes` props are passed as options to the hook.
6463

6564
### • 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.
6665

0 commit comments

Comments
 (0)