Repository navigation
Finished translation of Fragment page - #460
Merged
Merged
Conversation
Kamilius
suggested changes
May 4, 2023
| <Intro> | ||
|
|
||
| `<Fragment>`, often used via `<>...</>` syntax, lets you group elements without a wrapper node. | ||
| `<Fragment>`, ΡΠ°ΡΡΠΎ Π²ΠΈΠΊΠΎΡΠΈΡΡΠΎΠ²ΡΡΡΡΡΡ Π·Π° Π΄ΠΎΠΏΠΎΠΌΠΎΠ³ΠΎΡ ΡΠΈΠ½ΡΠ°ΠΊΡΠΈΡΡ `<>...</>`, Π΄ΠΎΠ·Π²ΠΎΠ»ΡΡ Π³ΡΡΠΏΡΠ²Π°ΡΠΈ Π΅Π»Π΅ΠΌΠ΅Π½ΡΠΈ Π±Π΅Π· ΠΎΠ±Π³ΠΎΡΡΠΊΠΎΠ²ΠΎΠ³ΠΎ Π²ΡΠ·Π»Π°. |
There was a problem hiding this comment.
ΠΡΠΊΠΎΠ»ΠΈ Π½Π΅ ΡΡΠ² Π½Π° ΠΏΡΠ°ΠΊΡΠΈΡΡ "ΠΎΠ±Π³ΠΎΡΡΠΊΠΎΠ²ΠΈΠΉ Π²ΡΠ·ΠΎΠ»". ΠΠΎΠΆΠ»ΠΈΠ²ΠΎ ΠΊΡΠ°ΡΠ΅ Π·Π°ΠΌΡΠ½ΠΈΡΠΈ Π½Π° "Π΅Π»Π΅ΠΌΠ΅Π½ΡΡ-ΠΎΠ±Π³ΠΎΡΡΠΊΠΈ"? Π§ΠΈ ΡΠΎΠ³ΠΎΡΡ ΠΏΠΎ ΡΠΈΠΏΡ ΡΡΠΎΠ³ΠΎ?
| ### `<Fragment>` {/*fragment*/} | ||
|
|
||
| Wrap elements in `<Fragment>` to group them together in situations where you need a single element. Grouping elements in `Fragment` has no effect on the resulting DOM; it is the same as if the elements were not grouped. The empty JSX tag `<></>` is shorthand for `<Fragment></Fragment>` in most cases. | ||
| ΠΠ³ΠΎΡΠ½ΡΡΡ Π΅Π»Π΅ΠΌΠ΅Π½ΡΠΈ Ρ `<Fragment>` ΡΠΎΠ± Π³ΡΡΠΏΡΠ²Π°ΡΠΈ ΡΡ ΡΠ°Π·ΠΎΠΌ Π² ΡΠΈΡΡΠ°ΡΡΡΡ , ΠΊΠΎΠ»ΠΈ Π²Π°ΠΌ ΠΏΠΎΡΡΡΠ±Π΅Π½ ΠΎΠ΄ΠΈΠ½ Π΅Π»Π΅ΠΌΠ΅Π½Ρ. ΠΡΡΠΏΡΠ²Π°Π½Π½Ρ Π΅Π»Π΅ΠΌΠ΅Π½ΡΡΠ² Ρ `Fragment` Π½Π΅ Π²ΠΏΠ»ΠΈΠ²Π°Ρ Π½Π° ΡΠ΅Π·ΡΠ»ΡΡΡΡΡΠΈΠΉ DOM; ΡΠ΅ ΡΠ°ΠΊ ΡΠ°ΠΌΠΎ, ΡΠΊ Ρ ΡΠΊΡΠΎ Π΅Π»Π΅ΠΌΠ΅Π½ΡΠΈ Π½Π΅ Π±ΡΠ»ΠΈ Π·Π³ΡΡΠΏΠΎΠ²Π°Π½Ρ. ΠΠΎΡΠΎΠΆΠ½ΡΠΉ ΡΠ΅Π³ JSX `<></>` Ρ ΡΠΊΠΎΡΠΎΡΠ΅Π½Π½ΡΠΌ Π΄Π»Ρ `<Fragment></Fragment>` Ρ Π±ΡΠ»ΡΡΠΎΡΡΡ Π²ΠΈΠΏΠ°Π΄ΠΊΡΠ². |
There was a problem hiding this comment.
"ΠΠΎΡΠΎΠΆΠ½ΡΠΉ ΡΠ΅Π³ JSX `<></>` Ρ ΡΠΊΠΎΡΠΎΡΠ΅Π½Π½ΡΠΌ Π΄Π»Ρ `<Fragment></Fragment>` Ρ Π±ΡΠ»ΡΡΠΎΡΡΡ Π²ΠΈΠΏΠ°Π΄ΠΊΡΠ²"
Π·Π²ΡΡΠΈΡΡ ΡΡΠΎΡ ΠΈ Π½Π΅ ΠΏΡΠΈΡΠΎΠ΄Π½ΡΠΎ. Π―ΠΊ ΡΠΎΠ΄ΠΎ ΡΠΎΠ³ΠΎ Π°Π±ΠΈ ΠΏΠ΅ΡΠ΅ΡΡΠ°Π·ΡΠ²Π°ΡΠΈ Π½Π°ΡΡΡΠΏΠ½ΠΈΠΌ ΡΠΈΠ½ΠΎΠΌ?
Π£ Π±ΡΠ»ΡΡΠΎΡΡΡ Π²ΠΈΠΏΠ°Π΄ΠΊΡΠ², ΠΏΠΎΡΠΎΠΆΠ½ΡΠΉ ΡΠ΅Π³ JSX `<></>` Ρ ΡΠΊΠΎΡΠΎΡΠ΅Π½Π½ΡΠΌ Π΄Π»Ρ `<Fragment></Fragment>`.
syavik2001
force-pushed
the
uk-translation-Fragment
branch
from
May 8, 2023 23:13
fbc24a5 to
8f117dc
Compare
Contributor
Author
|
ΠΠ³ΠΎΠ΄Π΅Π½. |
bkatsevych
reviewed
May 21, 2023
bkatsevych
reviewed
May 21, 2023
bkatsevych
reviewed
May 21, 2023
bkatsevych
reviewed
May 21, 2023
bkatsevych
reviewed
May 21, 2023
bkatsevych
reviewed
May 21, 2023
bkatsevych
reviewed
May 21, 2023
Size changesDetailsπ¦ Next.js Bundle Analysis for react-devThis analysis was generated by the Next.js Bundle Analysis action. π€ This PR introduced no changes to the JavaScript bundle! π |
bkatsevych
approved these changes
May 21, 2023
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fragment.md page translation.