Skip to content

Translate Forwarding Refs #222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 15, 2020
Merged

Translate Forwarding Refs #222

merged 3 commits into from
Aug 15, 2020

Conversation

ngTurk
Copy link
Contributor

@ngTurk ngTurk commented Jul 22, 2020

This PR translates the Advanced > Forwarding Refs page into Turkish.
Please review the document. Let me know about the possible improvements.

@netlify
Copy link

netlify bot commented Jul 22, 2020

Deploy preview for tr-reactjs ready!

Built with commit 46618a5

https://deploy-preview-222--tr-reactjs.netlify.app

@ngTurk
Copy link
Contributor Author

ngTurk commented Jul 24, 2020

@alioguzhan could you please check

@alioguzhan alioguzhan self-assigned this Jul 26, 2020
@alioguzhan alioguzhan self-requested a review July 26, 2020 07:56
Copy link
Member

@alioguzhan alioguzhan left a comment

Choose a reason for hiding this comment

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

Thanks for the translation. Please see my review comment.


Consider a `FancyButton` component that renders the native `button` DOM element:
Yerel (native) `button` öğesisini oluşturan `FancyButton` bileşeni düşünün:
Copy link
Member

Choose a reason for hiding this comment

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

typo in öğesisini

Copy link
Member

Choose a reason for hiding this comment

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

bileseni -> bilesenini


**Ref forwarding is an opt-in feature that lets some components take a `ref` they receive, and pass it further down (in other words, "forward" it) to a child.**
**Ref yönlendirme, bazı bileşenlerin aldıkları bir ref'yi almasını ve daha alt elemene aktarmasını sağlayan bir etkinleştirme özelliğidir**
Copy link
Member

Choose a reason for hiding this comment

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

ref'yi -> ref'i

There are several places in this file that this change should be applied to. Please check those places, too.

`embed:forwarding-refs/fancy-button-ref.js`

Fortunately, we can explicitly forward refs to the inner `FancyButton` component using the `React.forwardRef` API. `React.forwardRef` accepts a render function that receives `props` and `ref` parameters and returns a React node. For example:
Neyse ki, ref'leri `React.forwardRef` API'sını kullanarak iç `FancyButton` bileşenine iletebiliriz. `React.forwardRef`, `props` ve `ref` parametrelerini alan ve bir React node'u döndüren render fonksiyonu kabul eder. Örneğin:
Copy link
Member

Choose a reason for hiding this comment

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

API'sını -> API'sini (api-sini)

or

API'sını -> API'ını (ey-pi-ay-ını)

@yunusemredilber yunusemredilber self-requested a review July 27, 2020 07:08
@ngTurk
Copy link
Contributor Author

ngTurk commented Aug 14, 2020

@alioguzhan @yunusemredilber requested changes applied.

Copy link
Member

@alioguzhan alioguzhan left a comment

Choose a reason for hiding this comment

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

Thanks for the update

@alioguzhan alioguzhan merged commit 9d1c855 into reactjs:master Aug 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants