Skip to content
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

Translate input #481

Merged
merged 3 commits into from Aug 11, 2023
Merged

Translate input #481

merged 3 commits into from Aug 11, 2023

Conversation

hasancankucuk
Copy link
Contributor

No description provided.

@github-actions
Copy link

github-actions bot commented Aug 10, 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! 🙌

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.

Elinize saglik. 2 nokta var sadece. Sonrasinda merge edelim.


</Pitfall>

---

### Optimizing re-rendering on every keystroke {/*optimizing-re-rendering-on-every-keystroke*/}
### Yeniden renderın klavyeye her tıklandığında en iyi hale getirilmesi {/*optimizing-re-rendering-on-every-keystroke*/}
Copy link
Member

Choose a reason for hiding this comment

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

  • Her tuş basımında yeniden render işlemininin iyileştirilmesi

Bu daha iyi gibi sanki. basımında yerine vuruşunda da kullanılabilir.


Similarly, if you pass `checked` to a checkbox, ensure it's always a boolean.
`value` değeriniz API'den veya durum değişkeninden geliyorsa, başta `null` veya `undefined` olarak tanımlanmış olabilir. Bu durumda boş bir string (`''`) olarak tanımlayabilirsiniz veya `value={someValue == ''}` olarak iletip `value` değerinin string olup olmadığına emin olabilirsiniz.
Copy link
Member

Choose a reason for hiding this comment

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

Buradaki someValue ?? '' kodunu değiştirmişsiniz sanırım. someValue == '' doğru şekilde çalışmaz.

Yanlışlıkla öyle yazıldığını düşündünüz sanırım. ?? geçerli bir operator. (Nullish coalescing operator).

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Öncelikle geri dönütünüz için teşekkür ederim. Burada ?? yerine yanlışlıkla == kullanmışım, diğer yorumunuzla birlikte burayı da hemen düzeltiyorum.

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.

Bitirdiginizde tekrar review talep ederseniz hemen incelerim.

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.

Elinize saglik. Tesekkurler. Merge ediyorum.

@alioguzhan alioguzhan merged commit 8127e3d into reactjs:main Aug 11, 2023
4 checks passed
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.

None yet

2 participants