,
- document.getElementById('markdown-example')
+ document.getElementById('markdown-example'),
);
diff --git a/content/home/examples/a-component-using-external-plugins.md b/content/home/examples/a-component-using-external-plugins.md
index a8c35bbd6..fcf73922e 100644
--- a/content/home/examples/a-component-using-external-plugins.md
+++ b/content/home/examples/a-component-using-external-plugins.md
@@ -1,7 +1,7 @@
---
-title: A Component Using External Plugins
+title: Xarici Pluginlər ilə Komponent
order: 3
domid: markdown-example
---
-React is flexible and provides hooks that allow you to interface with other libraries and frameworks. This example uses **remarkable**, an external Markdown library, to convert the `
);
}
handleChange(e) {
- this.setState({ text: e.target.value });
+ this.setState({text: e.target.value});
}
handleSubmit(e) {
@@ -39,11 +35,11 @@ class TodoApp extends React.Component {
}
const newItem = {
text: this.state.text,
- id: Date.now()
+ id: Date.now(),
};
this.setState(state => ({
items: state.items.concat(newItem),
- text: ''
+ text: '',
}));
}
}
@@ -60,7 +56,4 @@ class TodoList extends React.Component {
}
}
-ReactDOM.render(
- ,
- document.getElementById('todos-example')
-);
+ReactDOM.render(, document.getElementById('todos-example'));
diff --git a/content/home/examples/an-application.md b/content/home/examples/an-application.md
index 227d0621b..0b37ae930 100644
--- a/content/home/examples/an-application.md
+++ b/content/home/examples/an-application.md
@@ -1,7 +1,7 @@
---
-title: An Application
+title: Bir Applikasiya
order: 2
domid: todos-example
---
-Using `props` and `state`, we can put together a small Todo application. This example uses `state` to track the current list of items as well as the text that the user has entered. Although event handlers appear to be rendered inline, they will be collected and implemented using event delegation.
+Gəlin `props` və `state` işlədərək kiçik bir Todo applikasiya yaradaq. Bu nümunədə `state` ilə cari elementlərin siyayısını, həmçinin istifadəçinin daxil etdiyi mətni izləyir. Hadisə işləyicilərinin sətirdaxili olmağına baxmayaraq, bu işləyicilər toplanır və hadisə deleqasiyası tərəfindən tətbiq edilir.
diff --git a/content/home/marketing/component-based.md b/content/home/marketing/component-based.md
index aeb3c4de2..463966cc5 100644
--- a/content/home/marketing/component-based.md
+++ b/content/home/marketing/component-based.md
@@ -1,8 +1,8 @@
---
-title: Component-Based
+title: Komponent Əsasında
order: 1
---
-Build encapsulated components that manage their own state, then compose them to make complex UIs.
+Öz halını idarə edən inkapsulasiyalı komponentlər düzəldib, sonra komponentləri tərtib edərək kompleks UI yaradın.
-Since component logic is written in JavaScript instead of templates, you can easily pass rich data through your app and keep state out of the DOM.
+Komponent məntiqi şablon əvəzinə JavaScriptdə yazıldığından, siz asanlıqla zəngin məlumatları öz applikasiyanıza göndərərək vəziyyəti DOMdan kənarda saxlaya bilərsiniz.
diff --git a/content/home/marketing/declarative.md b/content/home/marketing/declarative.md
index c3b651902..8eaaad9b9 100644
--- a/content/home/marketing/declarative.md
+++ b/content/home/marketing/declarative.md
@@ -1,8 +1,8 @@
---
-title: Declarative
+title: Deklarativ
order: 0
---
-React makes it painless to create interactive UIs. Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changes.
+React interaktiv UI yaranmasını çox asanlaşdırır. Applikasiyanızın hər bir halı üçün sadə görünüşlər yaradın. Məlumatlar dəyişən zaman React düzgün komponentləri səmərəli şəkildə dəyişir və render edir.
-Declarative views make your code more predictable and easier to debug.
+Deklarativ görünüşlər sizini kodunuzu daha proqnozlaşdırıla bilən və asan dibuq olunan edir.
diff --git a/content/home/marketing/learn-once-write-anywhere.md b/content/home/marketing/learn-once-write-anywhere.md
index 009edf5bc..002591b97 100644
--- a/content/home/marketing/learn-once-write-anywhere.md
+++ b/content/home/marketing/learn-once-write-anywhere.md
@@ -1,8 +1,8 @@
---
-title: Learn Once, Write Anywhere
+title: Bir dəfə öyrən, Hər yerdə yaz
order: 2
---
-We don't make assumptions about the rest of your technology stack, so you can develop new features in React without rewriting existing code.
+Biz, sizin qalan texnologiya stekiniz haqqında heç bir təxmin etmirik. Bu səbədən siz mövcud kodunuzu yenidən yazmadan, yeni xüsusiyyətləri Reactdə yaza bilərsiniz.
-React can also render on the server using Node and power mobile apps using [React Native](https://facebook.github.io/react-native/).
+React həmçinin Node ilə serverdə render edə və mobil applikasiyaları [React Native](https://facebook.github.io/react-native/) ilə dəstəkləyə bilər.
diff --git a/src/components/CodeEditor/CodeEditor.js b/src/components/CodeEditor/CodeEditor.js
index 6e42fff7e..f6f176264 100644
--- a/src/components/CodeEditor/CodeEditor.js
+++ b/src/components/CodeEditor/CodeEditor.js
@@ -56,12 +56,12 @@ class CodeEditor extends Component {
if (showBabelErrorMessage) {
errorMessage = (
- Babel could not be loaded.
+ Babel yüklənə bilmədi
- This can be caused by an ad blocker. If you're using one, consider
- adding reactjs.org to the whitelist so the live code examples will
- work.
+ Bu ad bloker işlətməkdən ola bilər. Əgər siz ad blocker
+ işlədirsinizsə, canlı kod nümunələrini görmək üçün reactjs.org
+ domenini ağ siyahıya atınş
);
} else if (error != null) {
@@ -99,7 +99,7 @@ class CodeEditor extends Component {
color: colors.white,
}}>
- Live JSX Editor
+ Canlı JSX Redaktoru