Skip to content

Commit e4a3344

Browse files
Khakim AidarkhanovKhakim Aidarkhanov
authored andcommitted
Merge main into sync-2534424e, resolve conflicts
2 parents 66ed079 + 617db39 commit e4a3344

File tree

5 files changed

+228
-287
lines changed

5 files changed

+228
-287
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"classnames": "^2.2.6",
3636
"debounce": "^1.2.1",
3737
"github-slugger": "^1.3.0",
38-
"next": "15.1.0",
38+
"next": "15.4.8",
3939
"next-remote-watch": "^1.0.0",
4040
"parse-numeric-range": "^1.2.0",
4141
"react": "^19.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-
>>>>>>> 2534424ec6c433cc2c811d5a0bd5a65b75efa5f0
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-
>>>>>>> 2534424ec6c433cc2c811d5a0bd5a65b75efa5f0
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-
>>>>>>> 2534424ec6c433cc2c811d5a0bd5a65b75efa5f0
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-
>>>>>>> 2534424ec6c433cc2c811d5a0bd5a65b75efa5f0
5652

5753
---
5854

0 commit comments

Comments
 (0)