4 ms·
It automatically reconnects. I wrote about the client/server state here: https://news.ycombinator.com/item?id=22897436 https://news.ycombinator.com/item?id=2289
by josevalim 6y ago
It automatically reconnects. I wrote about the client/server state here: https://news.ycombinator.com/item?id=22897436 https://news.ycombinator.com/item?id=22897436
In a nutshell, temporary state in the client (URLs, forms) are resubmitted on reconnect. The server state is typically backed by a database.