about summary refs log tree commit diff stats
path: root/components/components.go
Commit message (Collapse)AuthorAgeLines
* Rename and document fork v1.2.0Alan Pearce33 hours-2/+2
|
* Set slice capacity based on input in `Map` and `Classes.Render` (#243)Gabe Cook2025-03-03-1/+1
| | | | | | | | | Hey! I just discovered this repo and I love being able to write templates while still having compile-time checks. I was looking through the code and noticed slices aren't currently preallocated in `Map()` and `Classes.Render()`. Preallocating will improve performance since the resulting slice won't have to be grown dynamically during the append loop.
* Add support for additional HTML attributes in HTML5 template (#238)Winni Neessen2024-11-06-1/+2
| | | | | This PR updates the HTML5 function to accept and render additional HTML attributes. An additional test case to validate this enhancement has been added as well.
* Move module to maragu.dev/gomponents namespace (#215)Markus Wüstenberg2024-10-03-2/+2
| | | | | | | | | | This is a breaking change to move gomponents to my own import namespace. I will obviously be careful with this, test it out in all kinds of scenarios, release betas, etc. But otherwise, because the `Node` interface is so simple and has basically never changed, I don't think this will break much. 🤞 Fixes #200
* Add links to godoc (#183)Markus Wüstenberg2024-06-26-2/+3
| | | | | Also add an example for `http.Adapt`. Fixes #182
* Delete low-value helper components (#115)Markus Wüstenberg2022-11-03-0/+64
I'd rather reserve the package for components that have proven repeatedly useful, like `Classes` and `HTML5`.