Skip to content

Commit cc6116c

Browse files
Khakim AidarkhanovKhakim Aidarkhanov
authored andcommitted
Merge main into sync-7c90c6eb, resolve conflicts
2 parents 8136d9c + 8f1dedc commit cc6116c

File tree

5 files changed

+28
-288
lines changed

5 files changed

+28
-288
lines changed

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"scripts": {
77
"analyze": "ANALYZE=true next build",
88
"dev": "next-remote-watch ./src/content",
9-
"prebuild:rsc": "node scripts/buildRscWorker.mjs",
10-
"build": "node scripts/buildRscWorker.mjs && next build && node --experimental-modules ./scripts/downloadFonts.mjs",
9+
"build": "next build && node --experimental-modules ./scripts/downloadFonts.mjs",
1110
"lint": "next lint && eslint \"src/content/**/*.md\"",
1211
"lint:fix": "next lint --fix && eslint \"src/content/**/*.md\" --fix",
1312
"format:source": "prettier --config .prettierrc --write \"{plugins,src}/**/*.{js,ts,jsx,tsx,css}\"",
@@ -39,11 +38,10 @@
3938
<<<<<<< HEAD
4039
"next": "15.4.8",
4140
=======
42-
"next": "15.1.12",
43-
>>>>>>> 7c90c6eb4bb93a5eacb9cb4ad4ca496c32984636
41+
"next": "15.1.9",
42+
>>>>>>> e22544e68d6fffda33332771efe27034739f35a4
4443
"next-remote-watch": "^1.0.0",
4544
"parse-numeric-range": "^1.2.0",
46-
"raw-loader": "^4.0.2",
4745
"react": "^19.0.0",
4846
"react-collapsed": "4.0.4",
4947
"react-dom": "^19.0.0",
@@ -71,7 +69,6 @@
7169
"babel-eslint": "10.x",
7270
"babel-plugin-react-compiler": "^1.0.0",
7371
"chalk": "4.1.2",
74-
"esbuild": "^0.24.0",
7572
"eslint": "7.x",
7673
"eslint-config-next": "12.0.3",
7774
"eslint-config-react-app": "^5.2.1",
@@ -95,7 +92,6 @@
9592
"postcss-flexbugs-fixes": "4.2.1",
9693
"postcss-preset-env": "^6.7.0",
9794
"prettier": "^2.5.1",
98-
"react-server-dom-webpack": "^19.2.4",
9995
"reading-time": "^1.2.0",
10096
"remark": "^12.0.1",
10197
"remark-external-links": "^7.0.0",

src/components/Layout/HomeContent.js

Lines changed: 3 additions & 16 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-
>>>>>>> 7c90c6eb4bb93a5eacb9cb4ad4ca496c32984636
268260
</Para>
269261
</Center>
270262
<FullBleed>
@@ -282,13 +274,8 @@ export function HomeContent() {
282274
<CTA
283275
color="gray"
284276
icon="framework"
285-
<<<<<<< HEAD
286277
href="/learn/start-a-new-react-project">
287278
Фреймворктен бастаңыз
288-
=======
289-
href="/learn/creating-a-react-app">
290-
Get started with a framework
291-
>>>>>>> 7c90c6eb4bb93a5eacb9cb4ad4ca496c32984636
292279
</CTA>
293280
</div>
294281
</Center>

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-
>>>>>>> 7c90c6eb4bb93a5eacb9cb4ad4ca496c32984636
4943

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

src/content/reference/react/Activity.md

Lines changed: 2 additions & 6 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.
54-
- A *hidden* 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!"`. `<Activity mode="visible"><ComponentThatJustReturnsText /></Activity>` will render visible text.
55-
>>>>>>> 7c90c6eb4bb93a5eacb9cb4ad4ca496c32984636
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.
51+
- 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!"`.
5652

5753
---
5854

0 commit comments

Comments
 (0)