Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation of the "react: Components" page #465

Merged
merged 4 commits into from
May 6, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions src/content/reference/react/components.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
---
title: "Built-in React Components"
title: "Composants React intégrés"
bastiendmt marked this conversation as resolved.
Show resolved Hide resolved
---

<Intro>

React exposes a few built-in components that you can use in your JSX.
React met à disposition des composants que vous pouvez utiliser dans votre JSX.

</Intro>

---

## Built-in components {/*built-in-components*/}
## Composants intégrés {/*built-in-components*/}
bastiendmt marked this conversation as resolved.
Show resolved Hide resolved

* [`<Fragment>`](/reference/react/Fragment), alternatively written as `<>...</>`, lets you group multiple JSX nodes together.
* [`<Profiler>`](/reference/react/Profiler) lets you measure rendering performance of a React tree programmatically.
* [`<Suspense>`](/reference/react/Suspense) lets you display a fallback while the child components are loading.
* [`<StrictMode>`](/reference/react/StrictMode) enables extra development-only checks that help you find bugs early.
* [`<Fragment>`](/reference/react/Fragment), autrement écrit avec `<>...</>`, vous permet de grouper des éléments sans balise enrobante.
bastiendmt marked this conversation as resolved.
Show resolved Hide resolved
* [`<Profiler>`](/reference/react/Profiler) vous permet de mesurer les performance de rendu d'un arbre React.
bastiendmt marked this conversation as resolved.
Show resolved Hide resolved
* [`<Suspense>`](/reference/react/Suspense) vous permet d'afficher un composant alternatif pendant que les enfants chargent.
* [`<StrictMode>`](/reference/react/StrictMode) active des vérifications supplémentaires spécifiques en mode développement qui vous permettent d'anticiper des bugs.
bastiendmt marked this conversation as resolved.
Show resolved Hide resolved

---

## Your own components {/*your-own-components*/}
## Vos propres composants {/*your-own-components*/}

You can also [define your own components](/learn/your-first-component) as JavaScript functions.
Vous pouvez aussi [créer vos propres composants](/learn/your-first-component) avec des fonctions JavaScript.