Skip to content

Commit 7324d40

Browse files
authored
Resolve conflict in state-and-lifecycle
Source: d0f2db9
1 parent 1946926 commit 7324d40

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

content/docs/state-and-lifecycle.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,7 @@ Aby tak się stało, musimy dodać do komponentu "stan".
7272

7373
Stan przypomina trochę atrybuty (ang. *props*), jednak jest prywatny i w pełni kontrolowany przez dany komponent.
7474

75-
<<<<<<< HEAD
76-
[Wspomnieliśmy wcześniej](/docs/components-and-props.html#functional-and-class-components), że komponenty klasowe mają dodatkowe cechy. Lokalny stan to właśnie jedna z nich, dostępna tylko dla klas.
77-
7875
## Przekształcanie funkcji w klasę {#converting-a-function-to-a-class}
79-
=======
80-
## Converting a Function to a Class {#converting-a-function-to-a-class}
81-
>>>>>>> d0f2db967a38e358bd59c65e981862cdf38f3d0b
8276

8377
Proces przekształcania komponentu funkcyjnego (takiego jak nasz `Clock`) w klasę można opisać w pięciu krokach:
8478

0 commit comments

Comments
 (0)