Search⌘ K

The Message Component

Understand how to build a controlled Message component by managing input state with Redux. Learn to dispatch actions, create action creators, and implement reducers to handle typing input and update the application state.

We’ve had to build more difficult components.

This one won’t be difficult to build. However, there’s one point to consider.

The Input component will be a controlled component.

Therefore we will be storing the input value in the application state object.

For this, we’ll need a new field called typing ...