Chatroom 2 (#10)
* Remove unused method. Don't panic if unknown room. * Need a Connected() check for rooms publishing - don't do the work of rendering for a dead connection * Make vars private. * Linter issues * Remove Connected() * Mutation observer. Publish 4x / second. --------- Co-authored-by: João Gonçalves <joao.goncalves01@gmail.com>
This commit is contained in:
2
h/h.go
2
h/h.go
@@ -31,7 +31,7 @@ func Textf(format string, a ...any) H {
|
||||
return g.Textf(format, a...)
|
||||
}
|
||||
|
||||
// / Raw creates a text DOM [Node] that just Renders the unescaped string t.
|
||||
// Raw creates a text DOM [Node] that just Renders the unescaped string t.
|
||||
func Raw(s string) H {
|
||||
return g.Raw(s)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user