Skip to content

Commit d0f2db9

Browse files
saranshkatariabvaughn
authored andcommitted
removed sentence since functions can have state (#1878)
With introduction of hooks, that statement is not valid anymore
1 parent 2753191 commit d0f2db9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

content/docs/state-and-lifecycle.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ To implement this, we need to add "state" to the `Clock` component.
7272

7373
State is similar to props, but it is private and fully controlled by the component.
7474

75-
We [mentioned before](/docs/components-and-props.html#functional-and-class-components) that components defined as classes have some additional features. Local state is exactly that: a feature available only to classes.
76-
7775
## Converting a Function to a Class {#converting-a-function-to-a-class}
7876

7977
You can convert a function component like `Clock` to a class in five steps:

0 commit comments

Comments
 (0)