Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class Counter extends React.Component {
```

## 5. State and State Hook (useState)

Essentially it's a place in code that allows you to tap in to a module to either provide different behavior or to react when something happens.
State represents the internal data of a component. The `useState` hook is used to add state management to functional components. It returns the current state value and a function to update it.

### Example:
Expand Down