Skip to content

Commit f68a91b

Browse files
authored
Remove superfluous word 'like' (#5813)
'Your Effect would look like similar to this' -> 'Your Effect would look similar to this'
1 parent 9f89fff commit f68a91b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/synchronizing-with-effects.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ Most of the Effects you'll write will fit into one of the common patterns below.
600600
601601
### Controlling non-React widgets {/*controlling-non-react-widgets*/}
602602
603-
Sometimes you need to add UI widgets that aren't written to React. For example, let's say you're adding a map component to your page. It has a `setZoomLevel()` method, and you'd like to keep the zoom level in sync with a `zoomLevel` state variable in your React code. Your Effect would look like similar to this:
603+
Sometimes you need to add UI widgets that aren't written to React. For example, let's say you're adding a map component to your page. It has a `setZoomLevel()` method, and you'd like to keep the zoom level in sync with a `zoomLevel` state variable in your React code. Your Effect would look similar to this:
604604
605605
```js
606606
useEffect(() => {

0 commit comments

Comments
 (0)