Skip to content

Commit a870025

Browse files
committed
chore(sync): handle merge conflicts
1 parent a4e0bbf commit a870025

3 files changed

Lines changed: 2 additions & 15 deletions

File tree

src/content/reference/react/Component.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -815,13 +815,8 @@ Si vous définissez `UNSAFE_componentWillReceiveProps`, React l'appellera lorsqu
815815

816816
#### Paramètres {/*unsafe_componentwillreceiveprops-parameters*/}
817817

818-
<<<<<<< HEAD
819818
* `nextProps` : les prochaines props que le composant va recevoir de son composant parent. Comparez `nextProps` à [`this.props`](#props) pour déterminer ce qui a changé.
820819
* `nextContext` : le prochain contexte que le composant va recevoir de son plus proche fournisseur de contexte. Comparez `nextContext` à [`this.context`](#state) pour déterminer ce qui a changé. N'est disponible que si vous avez par ailleurs spécifié [`static contextType`](#static-contexttype) (approche plus récente) ou [`static contextTypes`](#static-contexttypes) (approche dépréciée).
821-
=======
822-
- `nextProps`: The next props that the component is about to receive from its parent component. Compare `nextProps` to [`this.props`](#props) to determine what changed.
823-
- `nextContext`: The next context that the component is about to receive from the closest provider. Compare `nextContext` to [`this.context`](#context) to determine what changed. Only available if you specify [`static contextType`](#static-contexttype) (modern) or [`static contextTypes`](#static-contexttypes) (legacy).
824-
>>>>>>> bdc60c26848820239db732b7218d41f4c2b204af
825820
826821
#### Valeur renvoyée {/*unsafe_componentwillreceiveprops-returns*/}
827822

src/content/reference/react/forwardRef.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -424,11 +424,7 @@ export default function Form() {
424424

425425
return (
426426
<form>
427-
<<<<<<< HEAD
428-
<MyInput label="Saisissez votre nom :" ref={ref} />
429-
=======
430-
<MyInput placeholder="Enter your name" ref={ref} />
431-
>>>>>>> bdc60c26848820239db732b7218d41f4c2b204af
427+
<MyInput placeholder="Saisissez votre nom :" ref={ref} />
432428
<button type="button" onClick={handleClick}>
433429
Modifier
434430
</button>

src/content/reference/react/useImperativeHandle.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,7 @@ export default function Form() {
124124

125125
return (
126126
<form>
127-
<<<<<<< HEAD
128-
<MyInput label="Saisissez votre nom :" ref={ref} />
129-
=======
130-
<MyInput placeholder="Enter your name" ref={ref} />
131-
>>>>>>> bdc60c26848820239db732b7218d41f4c2b204af
127+
<MyInput placeholder="Saisissez votre nom :" ref={ref} />
132128
<button type="button" onClick={handleClick}>
133129
Modifier
134130
</button>

0 commit comments

Comments
 (0)