Skip to content

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

Merged
merged 3 commits into from
May 21, 2023

Conversation

syavik2001
Copy link
Contributor

Fragment.md page translation.

@@ -4,7 +4,7 @@ title: <Fragment> (<>...</>)

<Intro>

`<Fragment>`, often used via `<>...</>` syntax, lets you group elements without a wrapper node.
`<Fragment>`, часто використовується за допомогою синтаксису `<>...</>`, дозволяє групувати елементи без обгорткового вузла.
Copy link

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>` у більшості випадків.
Copy link

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>`.

@syavik2001
Copy link
Contributor Author

Згоден.
Виправив згідно вашим зауваженням.

@github-actions
Copy link

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@bkatsevych bkatsevych merged commit 2d423d7 into reactjs:main May 21, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants