Skip to content

Commit 90928f5

Browse files
authored
Merge pull request #114 from reactjs/sync-2c7798dc
Sync with react.dev @ 2c7798d
2 parents 4c37318 + 827604d commit 90928f5

File tree

5 files changed

+7
-24
lines changed

5 files changed

+7
-24
lines changed

src/components/Layout/HomeContent.js

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -251,20 +251,12 @@ export function HomeContent() {
251251
фулл-стекке өтіңіз
252252
</Header>
253253
<Para>
254-
<<<<<<< HEAD
255254
React - бұл бағдарламалық қосымша. Ол компоненттерді біріктіруге
256255
мүмкіндік береді, бірақ маршруттау мен деректерді алу жолын
257-
көрсетпейді. React көмегімен толық бағдарлама құру үшін{' '}
258-
<Link href="https://nextjs.org">Next.js</Link> немесе{' '}
259-
<Link href="https://remix.run">Remix</Link> сияқты фулл-стекті
256+
көрсетпейді. React көмегімен толық бағдарлама құру үшін{ }
257+
<Link href="https://nextjs.org">Next.js</Link> немесе{ }
258+
<Link href="https://reactrouter.com">React Router</Link> сияқты фулл-стекті
260259
ұсынамыз
261-
=======
262-
React is a library. It lets you put components together, but it
263-
doesn’t prescribe how to do routing and data fetching. To build an
264-
entire app with React, we recommend a full-stack React framework
265-
like <Link href="https://nextjs.org">Next.js</Link> or{' '}
266-
<Link href="https://reactrouter.com">React Router</Link>.
267-
>>>>>>> f8c81a0f4f8e454c850f0c854ad054b32313345c
268260
</Para>
269261
</Center>
270262
<FullBleed>

src/content/learn/thinking-in-react.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,9 @@ React қосымшасымен UI жасаған кезде әдетте бір
3737

3838
Сіз өзіңіздің тәжірибеңізге байланысты дизайнды компонентерге бөлyге болытын жолдар:
3939

40-
<<<<<<< HEAD
41-
* **Программалау**--қарапайым функцияны немесе объект жасау туралы шешім қабылдаған кездегі тәсілді қолданыңыз. Техниканың бірі [single responsibility principle](https://en.wikipedia.org/wiki/Single_responsibility_principle), бір компонент бір тапсырманы орындауы тиіс. Егер функционал уақыт өте келе ұлғайса, оны кішірек ішкі құрамдастарға бөлу керек.
40+
* **Программалау**--қарапайым функцияны немесе объект жасау туралы шешім қабылдаған кездегі тәсілді қолданыңыз. Техниканың бірі [separation of concerns](https://en.wikipedia.org/wiki/Separation_of_concerns), бір компонент бір тапсырманы орындауы тиіс. Егер функционал уақыт өте келе ұлғайса, оны кішірек ішкі құрамдастарға бөлу керек.
4241
* **CSS**--ойлаңыз, неліктен класс селектірін жасайтындығыңызды. (Дегенмен компоненттер соншалықты кішірейтілмегенін есте сақтаңыз.)
4342
* **Дизайн**--дизайн қабаттарын қалай ұйымдастыратыныңызды ойлаңыз.
44-
=======
45-
* **Programming**--use the same techniques for deciding if you should create a new function or object. One such technique is the [separation of concerns](https://en.wikipedia.org/wiki/Separation_of_concerns), that is, a component should ideally only be concerned with one thing. If it ends up growing, it should be decomposed into smaller subcomponents.
46-
* **CSS**--consider what you would make class selectors for. (However, components are a bit less granular.)
47-
* **Design**--consider how you would organize the design's layers.
48-
>>>>>>> f8c81a0f4f8e454c850f0c854ad054b32313345c
4943

5044
Егер сіздің JSON жақсы құрылымдалған болса, cіз оның UI компонент құрылымына табиғи түрде сәйкес келетінін жиі байқайсыз. Себебі UI және деректер үлгілері жиі бірдей ақпараттық архитектураға, яғни бірдей пішінге ие болады. Пайдаланушы интерфейсін компонентерге бөліңіз, олардың әрқайсысы деректер үлгісінің бір бөлігін көрсетеді.
5145

src/content/reference/react/Activity.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,8 @@ In this way, Activity can thought of as a mechanism for rendering "background ac
4747

4848
#### Caveats {/*caveats*/}
4949

50-
<<<<<<< HEAD
51-
- When used with `<ViewTransition>`, hidden activities that reveal in a transition will activate an "enter" animation. Visible Activities hidden in a transition will activate an "exit" animation.
52-
=======
53-
- If an Activity is rendered inside of a [ViewTransition](/reference/react/ViewTransition), and it becomes visible as a result of an update caused by [startTransition](/reference/react/startTransition), it will activate the ViewTransition's `enter` animation. If it becomes hidden, it will activate its `exit` animation.
50+
- If an Activity is rendered inside of a [ViewTransition](/reference/react/ViewTransition), and it becomes visible as a result of an update caused by [startTransition](/reference/react/startTransition), it will activate the ViewTransition’s `enter` animation. If it becomes hidden, it will activate its `exit` animation.
5451
- An Activity that just renders text will not render anything rather than rendering hidden text, because there’s no corresponding DOM element to apply visibility changes to. For example, `<Activity mode="hidden"><ComponentThatJustReturnsText /></Activity>` will not produce any output in the DOM for `const ComponentThatJustReturnsText = () => "Hello, World!"`.
55-
>>>>>>> f8c81a0f4f8e454c850f0c854ad054b32313345c
5652

5753
---
5854

src/content/reference/react/components.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ React exposes a few built-in components that you can use in your JSX.
1616
* [`<Profiler>`](/reference/react/Profiler) lets you measure rendering performance of a React tree programmatically.
1717
* [`<Suspense>`](/reference/react/Suspense) lets you display a fallback while the child components are loading.
1818
* [`<StrictMode>`](/reference/react/StrictMode) enables extra development-only checks that help you find bugs early.
19+
* [`<Activity>`](/reference/react/Activity) lets you hide and restore the UI and internal state of its children.
1920

2021
---
2122

src/sidebarBlog.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"title": "React Compiler v1.0",
2323
"titleForHomepage": "React Compiler v1.0",
2424
"icon": "blog",
25-
"date": "October 8, 2025",
25+
"date": "October 7, 2025",
2626
"path": "/blog/2025/10/07/react-compiler-1"
2727
},
2828
{

0 commit comments

Comments
 (0)