1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
5 small wins to finish your pathNext lesson →
Chat state: conversations in the browser
The front end keeps the conversation and sends it with each request.
Outline
This lesson is an outline of what it will teach. The full lesson, with code you can run, is being written.
What this lesson covers
- Messages on the client
- Sending history to the server
- Resetting and restoring a chat
Why it matters
Losing a conversation on refresh is the fastest way to lose a user.
Slow is fine. Stopping is the only problem.