Skip to content

Commit 8dfdeb5

Browse files
merging all conflicts
2 parents 331206a + 3364c93 commit 8dfdeb5

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,13 @@ Para exibir um indicador de progresso, renderize o componente [`<progress>` nati
3434

3535
Adicionalmente, `<progress>` suporta estas props:
3636

37+
<<<<<<< HEAD
3738
* [`max`](https://developer.mozilla.org/pt-BR/docs/Web/HTML/Element/progress#attr-max): Um número. Especifica o `value` máximo. Seu valor padrão é `1`.
3839
* [`value`](https://developer.mozilla.org/pt-BR/docs/Web/HTML/Element/progress#attr-value): Um número entre `0` e `max`, ou `null` para progresso indeterminado. Especifica o quanto foi feito.
40+
=======
41+
* [`max`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress#attr-max): A number. Specifies the maximum `value`. Defaults to `1`.
42+
* [`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.
43+
>>>>>>> 3364c93feb358a7d1ac2e8d8b0468c3e32214062
3944
4045
---
4146

src/content/reference/react/useEffect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,7 @@ function ChatRoom({ roomId }) {
10891089
}
10901090
```
10911091
1092-
**To remove a dependency, you need to ["prove" to the linter *doesn't need* to be a dependency.](/learn/removing-effect-dependencies#removing-unnecessary-dependencies)** For example, you can move `serverUrl` out of your component to prove that it's not reactive and won't change on re-renders:
1092+
**To remove a dependency, you need to ["prove" to the linter that it *doesn't need* to be a dependency.](/learn/removing-effect-dependencies#removing-unnecessary-dependencies)** For example, you can move `serverUrl` out of your component to prove that it's not reactive and won't change on re-renders:
10931093
10941094
```js {1,8}
10951095
const serverUrl = 'https://localhost:1234'; // Not a reactive value anymore

0 commit comments

Comments
 (0)