vecty VS gomponents

Compare vecty vs gomponents and see what are their differences.

vecty

Vecty lets you build responsive and dynamic web frontends in Go using WebAssembly, competing with modern web frameworks like React & VueJS. (by hexops)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
vecty gomponents
8 11
2,830 1,497
0.0% 4.3%
0.0 8.0
over 2 years ago 16 days ago
Go Go
BSD 3-clause "New" or "Revised" License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

vecty

Posts with mentions or reviews of vecty. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-21.

gomponents

Posts with mentions or reviews of gomponents. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-12-05.
  • Building HTML in Go
    2 projects | news.ycombinator.com | 5 Dec 2024
    Gomponents is also a great way to deal with HTML in Go.

    https://www.gomponents.com/

  • Ink: React for Interactive CLI Apps
    7 projects | news.ycombinator.com | 1 Nov 2024
  • Show HN: Gomponents, HTML components in pure Go
    8 projects | news.ycombinator.com | 17 Oct 2024
    If you mean “action=/foo” for a “form” tag, there is an “Action” attribute: https://github.com/maragudk/gomponents/blob/main/html/attrib...
  • Templ: A language for writing HTML user interfaces in Go
    14 projects | news.ycombinator.com | 10 Dec 2023
    I'm really happy you like it. :) And thank you for your comment, I really appreciate newcomer viewpoints especially.

    Have a look at the `Classes` helper component already available: https://github.com/maragudk/gomponents/blob/main/components/...

    Yeah, I'm not a total fan of the runtime panics, but it was a tradeoff where I chose in favour of API simplicity and readability. In practice, it works out well, because you catch any typos at development time.

    I've had elements and attributes in separate packages before, but then you can't dot-import both packages and not have name clashes, and have to either prefix elements or attributes with the package name, which makes the code much less readable. Again, a tradeoff. :)

  • Template Engine Recommendation
    2 projects | /r/golang | 12 Oct 2023
    Gomponents:
  • HTML Templates | Why would you use them over react?
    8 projects | /r/golang | 16 Apr 2023
    I now always use https://github.com/maragudk/gomponents for frontend components (I'm the author of that library) together with HTMX (https://github.com/maragudk/gomponents-htmx), and it's just so much more fun and fast to work with.
  • How to render html children inside nested templates
    1 project | /r/golang | 2 Mar 2022
    However, there is an alternative to achieve React-ish components in Go using this package: https://github.com/maragudk/gomponents
  • Daz: Composable HTML components in golang
    4 projects | /r/golang | 22 Mar 2021
    reminds me of https://github.com/maragudk/gomponents
  • How painful is SSR with Go, really?
    2 projects | /r/golang | 19 Mar 2021
    I’ve also started just rendering views from the Go backend. It’s so nice and simple when you don’t need an SPA (like in your case). I didn’t like the syntax of html/template though, so I started a small view component library. Maybe it would be useful to you too, wrote about it here: https://www.maragu.dk/blog/gomponents-declarative-view-components-in-go/
  • How I build web frontends in Go
    8 projects | /r/golang | 7 Mar 2021
    Are you speaking of something like: gomponents? I can see what it has to offer. I tried it for half an hour but did not feel that well about it.

What are some alternatives?

When comparing vecty and gomponents you can also consider the following projects:

vugu - Vugu: A modern UI library for Go+WebAssembly (experimental)

templ - A language for writing HTML user interfaces in Go.

go-canvas - Library to use HTML5 Canvas from Go-WASM, with all drawing within go code

hyperscript - Create HyperText with JavaScript.

spago - SpaGo is toolkit for Single Page Application.

goview - Goview is a lightweight, minimalist and idiomatic template library based on golang html/template for building Go web application.

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured