Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Any plans to implement something like Phonenix LiveView? I've never used Go, but from what I've read I suppose it should work really well given Go's concurrency model. (The name "Livebud" gave some hope as well.)


There is https://github.com/jfyne/live which is probably what you're looking for.


Starred!


I haven't looked too closely at LiveView yet. I did flip back and forth between going with the Hotwire approach (I guess inspired by LiveView?).

It was a tough call, but I ultimately decided to server-render JS. This thought-experiment helped:

• If Ruby could natively render Javascript, would they still choose the Hotwire approach? I concluded no. I don't see the reason to have multiple approaches (HTML over wire, Stimulus), when one solution would suffice. The one solution also happens to be way more familiar to today's frontend developers. I definitely didn't want to make another templating language.

Bud will eventually ship with it's own JS evaluator. Either through https://github.com/dop251/goja or through porting https://github.com/bellard/quickjs to Go (~25kloc of C)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: