Skip to content

Commit 4dc7363

Browse files
authored
Update 16.state-hoisting.md
1 parent e7c0edf commit 4dc7363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patterns/16.state-hoisting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Stateless functions don’t hold state (as the name implies).
33

44

5-
vents are changes in state. Their data needs to be passed to stateful container components parents.
5+
Events are changes in state. Their data needs to be passed to stateful container components parents.
66
This is called “state hoisting”. It’s accomplished by passing a callback from a container component to a child component.
77
```javascript
88
class NameContainer extends React.Component {

0 commit comments

Comments
 (0)