diff --git a/README.md b/README.md
index fc605ce4..409119e0 100755
--- a/README.md
+++ b/README.md
@@ -112,17 +112,17 @@ const MyLoader = () => (
| ---------------------------------------------------------------- | -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`animate?: boolean`**
Defaults to `true` | React DOM
React Native | Opt-out of animations with `false` |
| **`title?: string`**
Defaults to `Loading...` | React DOM only | It's used to describe what element it is.
Use `''` (empty string) to remove. |
-| **`baseUrl?: string`**
Defaults to an empty string | React DOM only | Required if you're using `
`.
This prop is common used as:
`
Defaults to an empty string | React DOM only | Required if you're using `
`.
This prop is common used as:
`
Defaults to `1.2` | React DOM
React Native | Animation speed in seconds. |
| **`viewBox?: string`**
Defaults to `undefined` | React DOM
React Native | Use viewBox props to set a custom viewBox value,
for more information about how to use it,
read the article [How to Scale SVG](https://css-tricks.com/scale-svg/). |
-| **`gradientRatio?: number`**
Defaults to `1.2` | React DOM only | Width of the animated gradient as a fraction of the view box width. |
+| **`gradientRatio?: number`**
Defaults to `2` | React DOM only | Width of the animated gradient as a fraction of the view box width. |
| **`rtl?: boolean`**
Defaults to `false` | React DOM
React Native | Content right-to-left. |
| **`backgroundColor?: string`**
Defaults to `#f5f6f7` | React DOM
React Native | Used as background of animation. |
| **`foregroundColor?: string`**
Defaults to `#eee` | React DOM
React Native | Used as the foreground of animation. |
| **`backgroundOpacity?: number`**
Defaults to `1` | React DOM
React Native | Background opacity (0 = transparent, 1 = opaque)
used to solve an issue in [Safari](#safari--ios) |
| **`foregroundOpacity?: number`**
Defaults to `1` | React DOM
React Native | Animation opacity (0 = transparent, 1 = opaque)
used to solve an issue in [Safari](#safari--ios) |
| **`style?: React.CSSProperties`**
Defaults to `{}` | React DOM only | |
-| **`uniqueKey?: string`**
Defaults to random unique id | React DOM only | Use the same value of prop key,
that will solve inconsistency on the SSR, see more [here](https://github.com/danilowoz/react-content-loader/issues/78). |
+| **`uniqueKey?: string`**
Defaults to a React.useId-generated id | React DOM only | Override the generated SVG ids with a value unique to each loader. Useful for stable snapshot tests; see [SSR and snapshots](#server-side-rendering-ssr---match-snapshot). |
| **`beforeMask?: JSX.Element`**
Defaults to null | React DOM
React Native | Define custom shapes before content,
see more [here](https://github.com/danilowoz/react-content-loader/issues/266). |
See all options [live](https://danilowoz.com/react-content-loader/)
@@ -224,9 +224,9 @@ const MyCodeLoader = () => (
#### Server-side rendering (SSR) - Match snapshot
-As the main component generates random values to match the id of the SVG element with background style, it can encounter unexpected errors and unmatching warning on render, once the random value of id will be generated twice, in case of SSR: server and client; or in case of snapshot test: on the first match and re-running the test.
+The web component uses `React.useId` to connect each SVG's clip path, gradient and title. These ids match between the server and client when the rendered component tree is the same.
-To fix it, set the prop [`uniqueKey`](https://github.com/danilowoz/react-content-loader#uniquekey-string---web-only), then the id will not be random anymore:
+For stable ids in snapshot tests, you can override the generated id with `uniqueKey`. Give each loader a distinct value, and use the same value on the server and client:
```jsx
import { Facebook } from 'react-content-loader'
@@ -239,20 +239,21 @@ const MyFacebookLoader = () =>
) } @@ -323,9 +300,9 @@ export const title = () => { title.story = { parameters: { - notes: `## \`title?: string | boolean\` + notes: `## \`title?: string\` - Defaults to \`Loading interface...\`. It's used to describe what element it is. Use \`false\` to remove. + Defaults to \`Loading...\`. It's used to describe what element it is. Use \`''\` (empty string) to remove. `, }, }