Skip to content

Commit 8a62ce3

Browse files
authored
Add files via upload (#7182)
1 parent a506983 commit 8a62ce3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ See the examples below for how to handle common patterns.
627627
628628
### Controlling non-React widgets {/*controlling-non-react-widgets*/}
629629
630-
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:
630+
Sometimes you need to add UI widgets that aren't written in 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:
631631
632632
```js
633633
useEffect(() => {

0 commit comments

Comments
 (0)