mozey
Joined 12 years ago
Joined 12 years ago
You can totally be friends with a chicken, and still eat chicken eggs, they don't mind. Most chickens have been bred to have little interest in incubating the eggs. Not sure how a crow would react...
Side note, I saved a few Guinea Fowl chicks from the road the other day. When I put them down next to the parents and the other chicks, one of the parents launched at me and tried to claw out my eyes. My eyes survived intact, but I had a few scratches on my ears and arms
1. With go-app
func (h *hello) Render() app.UI {
return app.Div().Body(app.Text(fmt.Sprintf("Hello %s", h.name)))
}
2. Compared to using templ templ Hello(name string) {
<div>Hello, { name }</div>
}
For me personally, the latter seems nicer- I can see at a glance the structure of the HTML
- Completion on the HTML tags, attributes, etc
- Completion on CSS (TailwindCSS LSP for VSCode)
- Logic can still be shared with other types of UIs (e.g. CLI, Native Apps, Webkit, gRPC)
If what you want is option 1, isn't this solution incomplete. That is, the fully realised vision would be a native component / widgets API (e.g. Fyne, QT, GTK), and then generate HTML from the components?
However, "since Dagger Cloud is built as a PWA, it can be installed as a desktop or a mobile application. This makes it possible to launch Dagger Cloud like a native application and get a full-screen experience without needing to open a browser first, or just have a dedicated icon in your desktop taskbar/dock", so it sounds like the "Native App" is using a Webkit (e.g. Wails, Tauri, Electron)
Anyway, congrats on having commercial users building stuff with your project!
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/412