October 2017
Intermediate to advanced
302 pages
7h 27m
English
As in our LoginContainer, we need to store the value of our textarea in state as it changes.
We used the state of the LoginContainer to store that value. Let's do the same with ChatContainer.
Let's get that set up.
Add this to the ChatContainer.js:
state = { newMessage: '' };
Also, add a ...
Read now
Unlock full access