| Commit message (Collapse) | Author | Age | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Also add an example for `http.Adapt`.
Fixes #182
|
|
I'd rather reserve the package for components that have proven
repeatedly useful, like `Classes` and `HTML5`.
|