-
Notifications
You must be signed in to change notification settings - Fork 125
Finished translation of Fragment page #460
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
@@ -4,7 +4,7 @@ title: <Fragment> (<>...</>) | |||
|
|||
<Intro> | |||
|
|||
`<Fragment>`, often used via `<>...</>` syntax, lets you group elements without a wrapper node. | |||
`<Fragment>`, часто використовується за допомогою синтаксису `<>...</>`, дозволяє групувати елементи без обгорткового вузла. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ніколи не чув на практиці "обгортковий вузол". Можливо краще замінити на "елементу-обгортки"? Чи чогось по типу цього?
|
||
### `<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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Порожній тег JSX `<></>` є скороченням для `<Fragment></Fragment>` у більшості випадків"
звучить трохи не природньо. Як щодо того аби перефразувати наступним чином?
У більшості випадків, порожній тег JSX `<></>` є скороченням для `<Fragment></Fragment>`.
fbc24a5
to
8f117dc
Compare
Згоден. |
Size changes📦 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! 🙌 |
Fragment.md page translation.