Skip to content

Commit e4aa383

Browse files
docs: Fix conflicts
1 parent c48a0a9 commit e4aa383

18 files changed

Lines changed: 38 additions & 226 deletions

content/community/courses.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,9 @@ permalink: community/courses.html
1616

1717
- [React Crash Course 2018](https://www.youtube.com/watch?v=Ke90Tje7VS0) - Yeni başlayanlar üçün ən əsas React mövzularını əhatə edir.
1818

19-
<<<<<<< HEAD
20-
- [React Armory: Learn React by Itself](https://reactarmory.com/guides/learn-react-by-itself) - React Armory ilə React-i buzzword-suz öyrənə bilərsiniz.
19+
- [React Armory: React Fundamentals](https://frontarm.com/courses/react-fundamentals/) - React-i buzzword-suz öyrənin.
2120

2221
- [Egghead.io: The Beginner's Guide to ReactJS](https://egghead.io/courses/the-beginner-s-guide-to-reactjs) - React əsasları haqqında daha yaxşı anlayış yaratmaq üçün kurs.
23-
=======
24-
- [Frontend Armory: React Fundamentals](https://frontarm.com/courses/react-fundamentals/) - Learn React without the buzzwords.
25-
26-
- [Egghead.io: The Beginner's Guide to ReactJS](https://egghead.io/courses/the-beginner-s-guide-to-react) - Free course for React newbies and those looking to get a better understanding of React fundamentals.
27-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
2822

2923
- [Free React Bootcamp](https://tylermcginnis.com/free-react-bootcamp/) - Üç günlük pulsuz onlayn React bootcamp-indən videolar.
3024

@@ -34,11 +28,7 @@ permalink: community/courses.html
3428

3529
- [Egghead.io](https://egghead.io/browse/frameworks/react) - React və digər mövzular üçün qısa və təlimatlı videolar.
3630

37-
<<<<<<< HEAD
38-
- [Frontend Masters](https://frontendmasters.com/courses/) - React və digər frontend freymvorklar üçün video kursları.
39-
=======
40-
- [Frontend Masters](https://frontendmasters.com/learn/react/) - Video courses on React.
41-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
31+
- [Frontend Masters](https://frontendmasters.com/learn/react/) - React haqqında video kursları.
4232

4333
- [Fullstack React](https://www.fullstackreact.com/) - React və dostları üçün yenilənən, dərin və tam dərslik.
4434

content/docs/addons-test-utils.md

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,9 @@ var ReactTestUtils = require('react-dom/test-utils'); // NPM ilə ES5
1919

2020
> Qeyd:
2121
>
22-
<<<<<<< HEAD
23-
> Biz [React Testing Library](https://testing-library.com/react) kitabxanasından istifadə etməyi tövsiyə edirik. Bu kitabxana, son istifadəçilərin komponentləri istifadə etdiyi kimi testləri yazmağa təşviq edir və imkan yaradır.
22+
> Biz [React Testing Library](https://testing-library.com/react) kitabxanasından istifadə etməyi tövsiyə edirik. Bu kitabxana, son istifadəçilərin komponentləri istifadə etdiyi kimi testlərin yazılmasını təşviq edir və imkan yaradır.
2423
>
25-
> Alternativ olaraq, Airbnb-in test etmək üçün yaratdığı [Enzyme](https://airbnb.io/enzyme/) qurğusundan istifadə edə bilərsiniz. Bu qurğu React komponentləri asan şəkildə test etməyə imkan yaradır.
26-
=======
27-
> We recommend using [React Testing Library](https://testing-library.com/react) which is designed to enable and encourage writing tests that use your components as the end users do.
28-
>
29-
> For React versions <= 16, the [Enzyme](https://airbnb.io/enzyme/) library makes it easy to assert, manipulate, and traverse your React Components' output.
30-
31-
32-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
24+
> React 16-dan əvvəlki versiyalarda, Airbnb-in test etmək üçün yaratdığı [Enzyme](https://airbnb.io/enzyme/) qurğusundan istifadə edə bilərsiniz. Bu qurğu ilə React komponentlərinin nəticəsini asan şəkildə test etmək mümkündür.
3325
3426
- [`act()`](#act)
3527
- [`mockComponent()`](#mockcomponent)

content/docs/code-splitting.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,8 @@ console.log(add(16, 26)); // 42
4242
4343
Əgər siz [Create React App](https://create-react-app.dev/), [Next.js](https://nextjs.org/), [Gatsby](https://www.gatsbyjs.org/) və ya oxşar bir alət işlədirsinizsə, applikasiyanı paketləmək üçün Webpack quraşdırılmış olacaq.
4444

45-
<<<<<<< HEAD
4645
Əgər siz belə alətlərdən istifadə etmirsinizsə, siz paketləməni özünüz qoşmalısınız. Misal üçün, Webpack sənədlərində [Quraşdırma](https://webpack.js.org/guides/installation/)
4746
[Başlamaq](https://webpack.js.org/guides/getting-started/) təlimatlarına baxın.
48-
=======
49-
If you aren't, you'll need to set up bundling yourself. For example, see the [Installation](https://webpack.js.org/guides/installation/) and [Getting Started](https://webpack.js.org/guides/getting-started/) guides on the Webpack docs.
50-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
5147

5248
## Kod Parçalanması {#code-splitting}
5349

content/docs/concurrent-mode-reference.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,6 @@ ReactDOM.createRoot(rootNode).render(<App />);
4646

4747
Konkurrent Rejimi haqqında əlavə məlumat üçün [Konkurrent Rejimi sənədlərinə](/docs/concurrent-mode-intro.html) baxın.
4848

49-
<<<<<<< HEAD
50-
### `createBlockingRoot` {#createblockingroot}
51-
52-
```js
53-
ReactDOM.createBlockingRoot(rootNode).render(<App />)
54-
```
55-
56-
`ReactDOM.render(<App />, rootNode)` çağırışını əvəz edərək [Blok Rejimini](/docs/concurrent-mode-adoption.html#migration-step-blocking-mode) aktivləşdirir.
57-
58-
Konkurrent Rejimini istifadə etdikdə React-in işləməsində semantik dəyişikliklər baş verir. Bu deməkdir ki, Konkurrent Rejimini yalnız bir neçə komponentdə istifadə etmək mümkün deyil. Bu səbəbdən bəzi applikasiyaları birbaşa Konkurrent Rejiminə miqrasiya etmək mümkün olmaya bilər.
59-
60-
Blok Rejimində Konkurrent Rejiminin xüsusiyyətlərinin kiçik hissəsi mövcuddur. Bu rejim, birbaşa miqrasiya edə bilməyən applikasiyalar üçün vasitəçi rolunu oynayır.
61-
62-
=======
63-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
6449
## Suspense API {#suspense}
6550

6651
### `Suspense` {#suspensecomponent}

content/docs/context.md

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@ permalink: docs/context.html
66

77
Kontekst məlumatları komponent ağacının hər səviyyəsində proplar göndərmədən məlumatları komponentlərə ötürməyə təmin edir.
88

9-
<<<<<<< HEAD
10-
Standart React applikasiyasında, məlumat yuxarıdan aşağı (valideyndən uşağa) proplar vasitəsi ilə göndərilir. Lakin bir çox komponentin istifadə etdiyi bəzi prop tiplərinin (məsələn dil seçimi, UI şablonun) göndərilməsi çox yorucu və çətin ola bilər. Kontekst, dəyərlərin komponentlər arasında, komponent ağacının hər səviyyəsində prop göndərmədən paylaşmasına yol göstərir.
11-
=======
12-
In a typical React application, data is passed top-down (parent to child) via props, but such usage can be cumbersome for certain types of props (e.g. locale preference, UI theme) that are required by many components within an application. Context provides a way to share values like these between components without having to explicitly pass a prop through every level of the tree.
13-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
9+
Standart React applikasiyasında, məlumat yuxarıdan aşağı (valideyndən uşağa) proplar vasitəsi ilə göndərilir. Lakin bir çox komponentin istifadə etdiyi bəzi prop tiplərinin (məsələn dil seçimi, UI şablonun) göndərilməsi çox yorucu və çətin ola bilər. Kontekst ilə dəyərləri komponentlər arasında komponent ağacının hər səviyyəsində prop göndərmədən paylaşması mümkündür.
1410

1511
- [Nə Zaman Kontekst İşlətmək Lazımdır](#when-to-use-context)
1612
- [Kontekst İşlətməzdən Əvvəl](#before-you-use-context)
@@ -84,11 +80,7 @@ function Page(props) {
8480

8581
Bu dəyişiklik ilə, yalnız ən yuxarıda olan Page komponenti, `Link``Avatar` komponentlərinin `user``avatarSize` proplarını işlətməyini bilir.
8682

87-
<<<<<<< HEAD
88-
Bu *kontrolun inversiyası* applikasiyada göndərilən propların sayını azaldaraq və ana komponentlərə daha çox kontrol verərək bir neçə ssenaridə kodunuzu daha təmiz edir. Lakin, bu metod hər ssenari üçün düzgün seçim deyil: mürəkkəbiliyi komponent ağacında yüksək olan komponentlərə köçürdükdə, yuxarı səviyyəli komponentləri daha çətinləşir və aşağı səviyyəli komponentlərin daha əyilgən olması lazım olur.
89-
=======
90-
This *inversion of control* can make your code cleaner in many cases by reducing the amount of props you need to pass through your application and giving more control to the root components. Such inversion, however, isn't the right choice in every case; moving more complexity higher in the tree makes those higher-level components more complicated and forces the lower-level components to be more flexible than you may want.
91-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
83+
Bu *kontrolun inversiyası* applikasiyada göndərilən propların sayını azaldaraq və ana komponentlərə daha çox kontrol verərək bir neçə ssenaridə kodunuzu daha təmiz edir. Lakin, bu metod hər ssenari üçün düzgün seçim deyil: mürəkkəbiliyi komponent ağacında yüksək olan komponentlərə köçürdükdə, yuxarı səviyyəli komponentləri daha mürəkkəb edir və aşağı səviyyəli komponentlərin daha əyilgən olması lazım olur.
9284

9385
Siz komponentdə bir uşaq göstərməyə məhdud deyilsiniz. Siz bir neçə uşağı, hətta uşaqlar üçün bir neçə "yuva da" edə bilərsiniz ([burada sənələşmişdir](/docs/composition-vs-inheritance.html#containment)):
9486

@@ -126,11 +118,7 @@ const MyContext = React.createContext(defaultValue);
126118

127119
Kontekst obyekti yaradır. React, Context obyektinə "abunə olan" komponentləri render edərkən, yuxarı səviyyədə ən yaxın olan `Provider`-dən cari kontekst dəyərini oxuyacaq.
128120

129-
<<<<<<< HEAD
130121
`defaultValue` arqumenti **yalnız** komponentin yuxarı səviyyəsində Provider olmadığı zaman işlənir. Bu dəyər, komponentləri Provider ilə əhatə etmədən, ayrılıqda test etmək üçün faydalıdır. Qeyd: Provider dəyərinə `undefined` göndərildikdə, qoşulan komponentlər `defaultValue`-dan istifadə etmirlər.
131-
=======
132-
The `defaultValue` argument is **only** used when a component does not have a matching Provider above it in the tree. This default value can be helpful for testing components in isolation without wrapping them. Note: passing `undefined` as a Provider value does not cause consuming components to use `defaultValue`.
133-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
134122

135123
### `Context.Provider` {#contextprovider}
136124

@@ -174,11 +162,7 @@ class MyClass extends React.Component {
174162
MyClass.contextType = MyContext;
175163
```
176164

177-
<<<<<<< HEAD
178165
`contextType` sinif parametrinə [`React.createContext()`](#reactcreatecontext) ilə yaranmış Context obyekti təyin edilə bilər. Bu sizə ən yaxında olan kontekstin dəyərini `this.context`-dən oxumağa icazə verir. Siz bu dəyişəndə olan dəyəri render funksiyası daxil olmaqla bütün lifecycle funksiyalarından istifadə edə bilərsiniz.
179-
=======
180-
The `contextType` property on a class can be assigned a Context object created by [`React.createContext()`](#reactcreatecontext). Using this property lets you consume the nearest current value of that Context type using `this.context`. You can reference this in any of the lifecycle methods including the render function.
181-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
182166

183167
> Qeyd:
184168
>
@@ -205,11 +189,7 @@ class MyClass extends React.Component {
205189
</MyContext.Consumer>
206190
```
207191

208-
<<<<<<< HEAD
209-
Kontekst dəyişikliklərinə abunə olan React komponenti. Bu sizə [funksional komponent]((/docs/components-and-props.html#function-and-class-components)) ilə kontekstə abunə olmağa icazə verir.
210-
=======
211-
A React component that subscribes to context changes. Using this component lets you subscribe to a context within a [function component](/docs/components-and-props.html#function-and-class-components).
212-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
192+
Kontekst dəyişikliklərinə abunə olan React komponenti. Bu komponent ilə [funksiya komponentinin]((/docs/components-and-props.html#function-and-class-components)) kontekstə abunə olması mümkündür.
213193

214194
[Funksiyanın uşaq kimi olmasını](/docs/render-props.html#using-props-other-than-render) tələb edir. Bu funksiya, kontekstin cari dəyərini qəbul edir və React nodu qaytarır. Funksiyaya göndərilən `value` arqumenti, komponent ağacında bu komponentə ən yaxın olan Provider-in `value` propu ilə eynidir. Əgər provayder yoxdursa, `value` arqumenti `createContext()`-ə keçirilən `defaultValue` propuna bərabər olacaq.
215195

content/docs/create-a-new-react-app.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ React komandası əsasən aşağıdaki həlləri tövsiyə edir:
3939

4040
[Create React App](https://github.com/facebookincubator/create-react-app), **React-i öyrənmək** və React-də **yeni [tək-səhifəli](/docs/glossary.html#single-page-application) applikasiya** yaratmaq üçün çox rahat mühit təmin edir.
4141

42-
<<<<<<< HEAD
43-
Bu alət ən son JavaScript xüsusiyyətlərini istifadə etmək üçün təkmilləşmə mühiti yaradır, yaxşı developer təcrübəsi ilə proqramçıları təmin edir və applikasiyanı produksiya üçün optimallaşdırır. Bu aləti işlətmək üçün [Node >= 8.10 və npm >= 5.6](https://nodejs.org/en/) tələb edilir. Layihə yaratmaq üçün göstərilən əmri icra edin:
44-
=======
45-
It sets up your development environment so that you can use the latest JavaScript features, provides a nice developer experience, and optimizes your app for production. You’ll need to have [Node >= 10.16 and npm >= 5.6](https://nodejs.org/en/) on your machine. To create a project, run:
46-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
42+
Bu alət ən son JavaScript xüsusiyyətlərini istifadə etmək üçün təkmilləşmə mühiti yaradır, yaxşı developer təcrübəsi ilə proqramçıları təmin edir və applikasiyanı produksiya üçün optimallaşdırır. Bu aləti işlətmək üçün [Node >= 10.16 və npm >= 5.6](https://nodejs.org/en/) tələb edilir. Layihə yaratmaq üçün göstərilən əmri icra edin:
4743

4844
```bash
4945
npx create-react-app my-app

content/docs/error-boundaries.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,6 @@ Qeyd edək ki, **xəta sərhədləri yalnız altındakı ağacda olan komponentl
6767

6868
[React 16-da](/blog/2017/09/26/react-v16.0.html) [xəta sərhədinin yaranması və işlənməsi misalına](https://codepen.io/gaearon/pen/wqvxGa?editors=0010) baxın.
6969

70-
71-
<<<<<<< HEAD
72-
## Xəta Sərhədlərini Harada Yerləşdirək {#where-to-place-error-boundaries}
73-
=======
74-
The granularity of error boundaries is up to you. You may wrap top-level route components to display a “Something went wrong” message to the user, just like how server-side frameworks often handle crashes. You may also wrap individual widgets in an error boundary to protect them from crashing the rest of the application.
75-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
76-
7770
Xəta sərhədlərinin zənginliyi / əhatəsi sizdən asılıdır. Siz ən yuxarıda olan route komponentlərini əhatə edib, server tərəfində işlənilən freymvorklardakı kimi, "Bir şey yalnış getdi" mesajını istifadəçiyə göstərə bilərsiniz. Siz həmçinin fərdi vidcetlərini xəta sərhədləri ilə əhatə edib xətaların bütün applikasiyanı sındırmasından qoruya bilərsiniz.
7871

7972
## Tutulmamış Xətalar üçün Yeni Davranış {#new-behavior-for-uncaught-errors}
@@ -130,11 +123,7 @@ Xəta sərhədləri hadisə işləyicilərində baş verən xətaları **tutmur*
130123

131124
React-ə hadisə işləyicilərində baş verən xətaların bərpası üçün, xəta sərhədlərindən istifadə etməsi lazım deyil. Render və lifecycle metodlarından fərqli olaraq, hadisə işləyiciləri render zamanı baş vermir. Bu səbəbdən, əgər bu işləyicilər xəta atırlarsa, React yenə də ekranda nə göstərəcəyini bilir.
132125

133-
<<<<<<< HEAD
134-
Əgər sizə hadisə işləyicilərində yeni xətanı tutmaq lazımdırsa, normal Jacascript `try` / `catch` ifadəsindən istifadə edin:
135-
=======
136-
If you need to catch an error inside an event handler, use the regular JavaScript `try` / `catch` statement:
137-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
126+
Əgər sizə hadisə işləyicilərində yeni xətanı tutmaq lazımdırsa, normal Javascript `try` / `catch` ifadəsindən istifadə edin:
138127

139128
```js{9-13,17-20}
140129
class MyComponent extends React.Component {

content/docs/higher-order-components.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,7 @@ const EnhancedComponent = higherOrderComponent(WrappedComponent);
1414

1515
Adi komponent propları UI-a çevirir, yüksək dərəcəli komponent isə komponenti başqa bir komponentə çevirir.
1616

17-
<<<<<<< HEAD
18-
HOC-lər üçüncü tərəf React kitabxanalarında yayğındır, məsələn Redux-ın [`connect`](https://github.com/reduxjs/react-redux/blob/master/docs/api/connect.md#connect)-i və ya Relay-in [`createFragmentContainer`](http://facebook.github.io/relay/docs/en/fragment-container.html)-i kimi.
19-
=======
20-
HOCs are common in third-party React libraries, such as Redux's [`connect`](https://github.com/reduxjs/react-redux/blob/master/docs/api/connect.md#connect) and Relay's [`createFragmentContainer`](https://relay.dev/docs/v10.1.3/fragment-container/#createfragmentcontainer).
21-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
17+
HOC-lər üçüncü tərəf React kitabxanalarında yayğındır, məsələn Redux-ın [`connect`](https://github.com/reduxjs/react-redux/blob/master/docs/api/connect.md#connect)-i və ya Relay-in [`createFragmentContainer`](https://relay.dev/docs/v10.1.3/fragment-container/#createfragmentcontainer)-i kimi.
2218

2319
Bu sənəddə yüksək dərəcəli komponentlərin niyə faydalı olduğunu və necə yazılacağını müzakirə edəcəyik.
2420

content/docs/hooks-rules.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@ Hookların sadə JavaScript funksiyaları olmasına baxmayaraq bu funksiyaları
1212

1313
### Hookları Yalnız Ən Yuxarıdan Çağırın {#only-call-hooks-at-the-top-level}
1414

15-
<<<<<<< HEAD
16-
**Hookları tsikllar, şərtlər, və ya digər funksiyalardan çağırmayın.** Əvəzinə, Hookları hər zaman React funksiyasının ən yuxarısında yazın. Bu qaydaya riayət edərək komponent render edildikdə Hookların eyni sıra ilə çağrıldığını siğortalıyırsınız. Bu sıraya görə React, `useState``useEffect` çağırışlarının vəziyyətini qoruya bilir. (Əgər maraqlanırsınızsa, bunun dərindən izahatı haqqında [aşağıda](#explanation) danışacağıq.)
17-
=======
18-
**Don't call Hooks inside loops, conditions, or nested functions.** Instead, always use Hooks at the top level of your React function, before any early returns. By following this rule, you ensure that Hooks are called in the same order each time a component renders. That's what allows React to correctly preserve the state of Hooks between multiple `useState` and `useEffect` calls. (If you're curious, we'll explain this in depth [below](#explanation).)
19-
>>>>>>> e60bca04f3da690256ce019bd8907c2b368589ee
15+
**Hookları tsikllar, şərtlər və ya digər funksiyalardan çağırmayın.** Əvəzinə, Hookları hər zaman React funksiyasının ən yuxarısında yazın. Bu qaydaya riayət edərək komponent render edildikdə Hookların eyni sıra ilə çağrıldığını siğortalıyırsınız. Bu sıraya görə React, `useState``useEffect` çağırışlarının vəziyyətini qoruya bilir. (Əgər maraqlanırsınızsa, bunun dərindən izahatı haqqında [aşağıda](#explanation) danışacağıq.)
2016

2117
### Hookları Yalnız React Funksiyalarından Çağırın {#only-call-hooks-from-react-functions}
2218

0 commit comments

Comments
 (0)