Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Docs composition vs inheritance #27

Merged
merged 6 commits into from Mar 25, 2019

Conversation

suren-atoyan
Copy link
Contributor

No description provided.

@netlify
Copy link

netlify bot commented Mar 24, 2019

Deploy preview for hy-reactjs ready!

Built with commit 90516ce

https://deploy-preview-27--hy-reactjs.netlify.com

Some components don't know their children ahead of time. This is especially common for components like `Sidebar` or `Dialog` that represent generic "boxes".

Մենք խորհուրդ ենք տալիս այսպիսի կոմպոնենտերում օգտագործել հատուկ `children` prop\` փոխանցելու համար զավակ էլեմենտներին անմիջապես նրանց ելքային արժեքներ։
Copy link
Contributor

Choose a reason for hiding this comment

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

Առաջարկում եմ՝
Մենք խորհուրդ ենք տալիս այսպիսի կոմպոնենտերում օգտագործել հատուկ children prop-ը` զավակ էլեմենտները անմիջապես նրանց ելքային արժեքներին փոխանցելու համար․

և
ելքային արժեքներին -> արտադրանքին կամ արտադրությանը, կամ ելքային արտադրանքին, կամ արտապատկերմանը։

@@ -28,6 +33,7 @@ function FancyBorder(props) {
}
```

Սա թույլ է տալիս ուրիշ կոմպոնենտերի փոխանցել ցանկացած զավակների նրանց\` JSX-ում ներդրվածություններով։
Copy link
Contributor

Choose a reason for hiding this comment

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

Առաջարկում եմ՝
Սա այլ կոմպոնտենտներին թույլ է տալիս, JSX-ի միջոցով դրանց փոխանցել ցանկացած զավակ էլեմենտներ։

@suren-atoyan suren-atoyan merged commit 0ba6b64 into master Mar 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants