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

[Done] Translate Concurrent Mode API Reference #225

Merged
Merged
Changes from 4 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
4ff6408
updated the repo
mohamedsgap Jan 17, 2020
bae6b03
got the latest updates from upstream
mohamedsgap Jan 21, 2020
4a4cdab
translated the title
mohamedsgap Jan 21, 2020
c0784d4
Merge branch 'master' of https://github.com/reactjs/ar.reactjs.org in…
mohamedsgap Feb 25, 2020
090eb8a
Merge branch 'master' of https://github.com/reactjs/ar.reactjs.org in…
mohamedsgap Mar 11, 2020
006ebbc
Translate page intro
mohamedsgap Mar 11, 2020
5552f87
Translate 'Enabling Concurrent Mode'
mohamedsgap Mar 11, 2020
fe99c3b
Translate 'Suspense' API
mohamedsgap Mar 11, 2020
1dbd408
Translate 'SuspenseList'
mohamedsgap Mar 11, 2020
f74b7ee
Translate 'useTransition'
mohamedsgap Mar 11, 2020
97637c0
Translate 'useDeferredValue'
mohamedsgap Mar 11, 2020
1b8f828
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
5d08a25
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
86c6840
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
e554604
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
3ef57e5
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
8e8edc3
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
838cee5
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
97d5282
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
08aec01
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
cca68a4
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
50e0183
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
e914ba1
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
9cf76b7
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
b53de6b
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
8bd7524
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
9c1ba7b
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 19, 2020
45c5214
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 20, 2020
98d9bcc
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 20, 2020
3f7badf
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 20, 2020
ee3250e
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 20, 2020
bda4938
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 20, 2020
461adf0
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 20, 2020
bcbce3a
Update content/docs/concurrent-mode-reference.md
mohamedsgap Apr 20, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions content/docs/concurrent-mode-reference.md
@@ -1,6 +1,6 @@
---
id: concurrent-mode-reference
title: Concurrent Mode API Reference (Experimental)
title: مرجع واجهة برمجة التطبيقات للوضع المتزامن (تجريبي)
permalink: docs/concurrent-mode-reference.html
prev: concurrent-mode-adoption.html
---
Expand Down Expand Up @@ -55,7 +55,7 @@ ReactDOM.createBlockingRoot(rootNode).render(<App />)

Replaces `ReactDOM.render(<App />, rootNode)` and enables [Blocking Mode](/docs/concurrent-mode-adoption.html#migration-step-blocking-mode).

Opting into Concurrent Mode introduces semantic changes to how React works. This means that you can't use Concurrent Mode in just a few components. Because of this, some apps may not be able to migrate directly to Concurrent Mode.
Opting into Concurrent Mode introduces semantic changes to how React works. This means that you can't use Concurrent Mode in just a few components. Because of this, some apps may not be able to migrate directly to Concurrent Mode.

Blocking Mode only contains a small subset of Concurrent Mode features and is intended as an intermediary migration step for apps that are unable to migrate directly.

Expand Down Expand Up @@ -102,7 +102,7 @@ When multiple components need to fetch data, this data may arrive in an unpredic
`SuspenseList` takes two props:
* **revealOrder (forwards, backwards, together)** defines the order in which the `SuspenseList` children should be revealed.
* `together` reveals *all* of them when they're ready instead of one by one.
* **tail (collapsed, hidden)** dictates how unloaded items in a `SuspenseList` is shown.
* **tail (collapsed, hidden)** dictates how unloaded items in a `SuspenseList` is shown.
* By default, `SuspenseList` will show all fallbacks in the list.
* `collapsed` shows only the next fallback in the list.
* `hidden` doesn't show any unloaded items.
Expand Down Expand Up @@ -185,7 +185,7 @@ A good example of this is a text input.
```js
function App() {
const [text, setText] = useState("hello");
const deferredText = useDeferredValue(text, { timeoutMs: 2000 });
const deferredText = useDeferredValue(text, { timeoutMs: 2000 });

return (
<div className="App">
Expand Down