In today's fast-paced world, efficient communication is vital. You are tasked with developing a Chat Messaging interface that allows sending text messages using only local state. it should also allow the user to switch between "Sender" and "Receiver".
When you receive a new task at Netseal Tech, follow these steps:
- Decompose the Task: Break it down into manageable subtasks. You can use paper, flowcharts, or mental visualization to aid this process.
- Implementation: Ensure that the solution meets the specified requirements accurately.
- Documentation: Document complex parts of your code to facilitate future handovers to team members.
- Production: Move the fully tested and reviewed code into production.
- New Conversations: Should appear at the top of the "Conversation List".
- New Messages: Sending a new message should bring the "Conversation" to the top of the "Conversation List" in descending order.
- Delete Conversations: Removing a conversation should clear "All Messages" and remove the conversation.
Utilize any frontend framework / language you are comfortable with to implement this project.
- Ensure the implementation aligns with the user story and requirements.
- Maintain simplicity and clarity in your code for better readability and efficiency.
- Verify that the implementation functions correctly before presenting it.