Hans Raaf
Hans Raaf
> ```go > c.Time > ``` make that lowercase (`c.time`) and try again. You may also not use c.Update() but call `ctx.Dispatch(func(ctx app.Context) { c.Time = time.Now().Format(time.RFC3339) })`
`func (c *Clock) OnMount(ctx app.Context, a app.Action)` looks wrong too (it does not sound as this is an action handler). I suggest you add `var _ app.Mounter = (*Clock)(nil)` to...
And of course, you need to make that timer loop asynchronously: ``` package clock import ( "github.com/maxence-charriere/go-app/v9/pkg/app" "time" ) type Clock struct { app.Compo time string } var _ app.Mounter...
I was curious how to make it useable for real: ```go package clock import ( "github.com/maxence-charriere/go-app/v9/pkg/app" "github.com/metatexx/go-app-pkgs/dbg" "time" ) type Clock struct { app.Compo Format string Class string time string...
@mlctrez It seems like your timer code is better as my one still leaks the timer.
But the problem with the way @mlctrez stops the timer (for me) is, that it does not seem to run the part of the function after the `for{}` so I...
> @oderwat I totally missed that time.Ticker.Stop() does not close the channel. That's why the for loop never exits. Oh, yes, so it just stops, and the loop freezes. Makes...
I am using `nhooyr.io/websocket` too. With good success. But I think I want to switch to a package that has less dependencies as it adds quite a lot. 
@maxence-charriere I actually wanted to try it next. It tells users to try the other packages but maybe it is just complete enough for what we need. @fbaube This seems...
I feel that the "scope" in the event handler is poorly explained. I was maybe only ignorant, but I did not expect that to be a "path" that's building out...