6 comments

[ 3.2 ms ] story [ 23.9 ms ] thread
This is a "Shown HN" because it's something I made, being the developer of FC. Thanks for looking! :)
>Live Commenting

>Since the UI is rendered by the server, one time, live commenting features are not available.

I've done this before with an iframe. You just don't stop rendering the page. As new comments get posted you render those comments and send them to everyone.

Good point - you could use streaming! The problem is the styling and layout would fundamentally have to change for this use case, which nobody is asking for (yet).

You could technically set the default sort order to oldest-first, and then use streaming, but I'm not sure the interaction would be good. Thanks for the idea :)

Yes, you have to make sure it renders fine with "incomplete" html. You can use flex-direction with css to reverse the order if you want newest first.
Genius.

Unfortunately it breaks with threads, and voting, but maybe the idea will be used someday!

My use case was for a chatroom without javascript. I wouldn't really recommend it in production though since it makes web browsers think the page is still loading. For example Firefox will have a box it the bottom left saying that it's still loading stuff.