-
-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Group renderable #162
Milestone
Comments
markuswustenberg
added a commit
that referenced
this issue
Jun 25, 2024
This change adds a `Fragment` top-level function, to render multiple elements without a parent element. It's basically the same as `Group`, except the function signature matches the style of the other functions by being variadic. But I also made `Group` renderable directly, with the important caveat that root-level attributes are _ignored_. I don't think this will give problems in practice, as the main use case for `Fragment` is basically to return root-level elements to the client using something like HTMX. Fixes #162
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe all the rendering logic can be moved from
El
into a shared function easily?The text was updated successfully, but these errors were encountered: