Skip to content

Commit 31fa0b6

Browse files
committed
Remove duplicated section
1 parent dac7e4d commit 31fa0b6

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

README.md

-8
Original file line numberDiff line numberDiff line change
@@ -94,14 +94,6 @@ There is an important distinction between the `boxSize` you observe and the `box
9494

9595
Using [`useResizeObserver()`](/docs/api.md#useresizeobserver), [`useResizeObserverEntry()`](/docs/api.md#useresizeobserverentry) or [`useBreakpoints()`](/docs/api.md#usebreakpoints) in your components causes them to re-render **every time a resize is observed**.
9696

97-
In some cases, you may want to optimise this. If you only want to re-render your components when the returned breakpoint values actually change, use `React.useMemo` or `React.memo`.
98-
99-
# Re-rendering
100-
101-
Using [`useResizeObserver()`](/docs/api.md#useresizeobserver), [`useResizeObserverEntry()`](/docs/api.md#useresizeobserverentry) or [`useBreakpoints()`](/docs/api.md#usebreakpoints) in your components causes them to re-render **every time a resize is observed**.
102-
103-
In some cases, you may want to optimise this. If you only want to re-render your components when breakpoint values actually change, use `React.useMemo` or `React.memo`.
104-
10597
# Server-Side Rendering
10698

10799
See [Server-Side Rendering](/docs/server-side-rendering.md) for more information.

0 commit comments

Comments
 (0)