Skip to content

Commit

Permalink
fix: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
FredrikOseberg committed Feb 26, 2024
1 parent 3c21026 commit dc31506
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,6 @@ Deferring the client start gives you more fine-grained control over when to star
To start the client, use the client's `start` method. The below snippet of pseudocode will defer polling until the end of the `asyncProcess` function.

```jsx
const client = new UnleashClient({
/* ... */
});

const MyAppComponent = () => {
useEffect(() => {
Expand Down Expand Up @@ -298,7 +295,7 @@ Upgrading should be as easy as running yarn again with the new version, but we m

## Upgrade path from v3 -> v4

`startClient` option has been simpilfied. Now it will also work if you don't pass custom client with it, and in SSR (when `typeof window === 'undefined'`) it defaults to `false`.
`startClient` option has been simplified. Now it will also work if you don't pass custom client with it. It defaults to `true`.

#### Note on v4.0.0:
The major release is driven by Node14 end of life and represents no other changes. From this version onwards we do not guarantee that this library will work server side with Node 14.
Expand Down

0 comments on commit dc31506

Please sign in to comment.