Skip to content

translate using-the-state-hook - #57

Merged
galnir merged 4 commits into
reactjs:masterfrom
galnir:using-the-state-hook
May 14, 2019
Merged

translate using-the-state-hook#57
galnir merged 4 commits into
reactjs:masterfrom
galnir:using-the-state-hook

Conversation

@galnir

Copy link
Copy Markdown
Contributor

No description provided.

@netlify

netlifyBot commented Apr 27, 2019

Copy link
Copy Markdown

Deploy preview for he-reactjs ready!

Built with commit 863328d

https://deploy-preview-57--he-reactjs.netlify.com

@tesseralistesseralis mentioned this pull request Apr 28, 2019
88 tasks
Comment threadcontent/docs/hooks-state.md Outdated
---

*Hooks* are a new addition in React 16.8. They let you use state and other React features without writing a class.
*Hooks* הם תוסף חדש בריאקט 16.8. הם מאפשרים שימוש ב- state ופיצ'רים אחרים של ריאקט מבלי לכתוב מחלקה.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Our code style says that we follow React in English.

Comment threadcontent/docs/hooks-state.md Outdated
## דוגמת קוד מקביל {#equivalent-class-example}

If you used classes in React before, this code should look familiar:
אם השתמשת במחלקות בריאקט בעבר, קוד זה אמור להיראות מוכר:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Here too, React should be in English.

Comment threadcontent/docs/hooks-state.md Outdated
נתחיל ללמוד על Hooks על ידי השווה בין קוד זה לקוד המקביל שמשתמש במחלקה.

## Equivalent Class Example {#equivalent-class-example}
## דוגמת קוד מקביל {#equivalent-class-example}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What do you think about "דוגמה מקבילה במחלקה", I just try to stick to the original.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

You might be right but imo "דוגמה מקבילה במחלקה" doesn't fit

Comment threadcontent/docs/hooks-state.md Outdated
## Hooks וקומפוננטות פונקציונליות {#hooks-and-function-components}

As a reminder, function components in React look like this:
כתזכורת, קומפוננטות פונקציונליות בריאקט נראות כך:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

React should be in English.

@galnir
galnir requested a review from itayyehezkelMay 14, 2019 15:32
@galnir

Copy link
Copy Markdown
ContributorAuthor

Thanks @itayyehezkel, I took your suggestion and changed it to "דוגמה מקבילה עם שימוש במחלקה" instead of "דוגמה מקבילה במחלקה".

@galnir
galnir merged commit cf54371 into reactjs:masterMay 14, 2019
@galnir
galnir deleted the using-the-state-hook branch December 7, 2021 09:18
Sign up for freeto 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.

2 participants

@galnir@itayyehezkel