Using context and hooks, create a basic messenger application. For simplicity we will create the entire application on a single page, and it will consist of two user inputs and a chatbox that displays the messages.
- Create a simple messenger application that has two inputs (user 1 and user 2) and a chat window that shows all chat history.
- You can only pass state from component to component with context!
- Style it however you want :)
- Display when a user is typing (e.g. user 1 is typing, show user 2 that they are typing)
- Support deleting a message. For simplicity assume that there is only one chat window.
npm i && npm start