Skip to content

Commit 4c0fb9c

Browse files
authored
Merge pull request #597 from reactjs/sync-3364c93f
Sync with react.dev @ 3364c93
2 parents 0204d01 + 9b5428d commit 4c0fb9c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/content/learn/manipulating-the-dom-with-refs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Then, use it to declare a ref inside your component:
3131
const myRef = useRef(null);
3232
```
3333

34-
Finally, pass it to the DOM node as the `ref` attribute:
34+
Finally, pass your ref as the `ref` attribute to the JSX tag for which you want to get the DOM node:
3535

3636
```js
3737
<div ref={myRef}>

src/content/reference/react-dom/components/progress.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ To display a progress indicator, render the [built-in browser `<progress>`](http
3535
Additionally, `<progress>` supports these props:
3636

3737
* [`max`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#attr-max): A number. Specifies the maximum `value`. Defaults to `1`.
38-
* [`value`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#attr-value): A number between `0` and `max`, or `null` for intermedinate progress. Specifies how much was done.
38+
* [`value`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#attr-value): A number between `0` and `max`, or `null` for indeterminate progress. Specifies how much was done.
3939

4040
---
4141

0 commit comments

Comments
 (0)