Skip to content

Finished translation of "Passing Props to a Component" page #495

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

Conversation

ltlaitoff
Copy link
Contributor

I never received a response about whether I can translate this article under my comment, but I decided to translate it.

This repository version was missing one change from the main one, so I made a sync commit.

Copy link

github-actions bot commented Nov 7, 2023

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! 🙌

@@ -983,13 +983,13 @@ h1 {

<Hint>

Any JSX you put inside of a component's tag will be passed as the `children` prop to that component.
Будь-який JSX, який ви поміщаєте всередину тегу компонента, буде переданий як властивість `children` цьому компоненту.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Будь-який JSX, який ви поміщаєте всередину тегу компонента, буде переданий як властивість `children` цьому компоненту.
Будь-який JSX, який ви розміщуєте всередині тегу компонента, буде переданий як властивість `children` цьому компоненту.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

btw, either проп or властивість should be used. there are a few places including this one with властивість instead of проп

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also i have a doubt about using JSX in Ukrainian without код or any other detail, as it looks like 'calque', e.g.:
Передати JSX
Передати JSX-код
I think it's up for discussion

@alinkedd
Copy link
Collaborator

alinkedd commented Nov 8, 2023

btw, the main branch was updated recently, so maybe sync commit is not required anymore and may be omitted in case of rebase

ltlaitoff and others added 2 commits November 8, 2023 21:06

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
Co-authored-by: Alina Listunova <alinkedd@users.noreply.github.com>
Copy link

github-actions bot commented Nov 8, 2023

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! 🙌

@ltlaitoff
Copy link
Contributor Author

@alinkedd Thank you for your corrections! 😉

I committed most of them using your changes, others are in commit 2162acd

I also performed a rebase on the main branch, so now there is no commit sync

Now, there are only a few disputed points left to resolve

@bkatsevych bkatsevych merged commit f618fbd into reactjs:main Nov 9, 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