-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Open
Labels
A-yew-macroArea: The yew-macro crateArea: The yew-macro cratefeature-requestA feature requestA feature request
Description
Describe the feature you'd like
Allow using for loops like:
html! {
for val in range {
<p> { val } </p>
}
}Is your feature request related to a problem? Please describe. (Optional)
Current solutions hurt readability when used inside deeply nested html and imo, aren't that concise.
Describe alternatives you've considered (Optional)
There are two alternatives to this (mentioned here). Both of which require you to wrap them in html! or empty tags which doesn't read well.
Additional context (Optional)
This will also bring loop syntax inside html! in-line with the if statement synatx
Questionnaire
- I'm interested in implementing this myself but don't know where to start
- I would like to add this feature
- I don't have time to add this right now, but maybe later
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-yew-macroArea: The yew-macro crateArea: The yew-macro cratefeature-requestA feature requestA feature request