You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please foregive me if this is already possible, as I did not find it in the book. But I am trying to componentize some markup, and need to support adding arbitrary attributes. So for example, let's take an <input>
Is something like this currently possible? I understand the security implications, but this is intended to be done at compile time, by adding attributes in different parts of the app, not dynamically.
The text was updated successfully, but these errors were encountered:
If not currently possible, perhaps iterators and a spread operator might be good additions to the syntax?
Attribute spreading needs to implement Iterator<Item = (impl Display, impl Display)> and could use the rust spread operator ..while classes can be spread via. ..or something similar? Would only need to implementIterator<Item = impl Display>`
Please foregive me if this is already possible, as I did not find it in the book. But I am trying to componentize some markup, and need to support adding arbitrary attributes. So for example, let's take an
<input>
Is something like this currently possible? I understand the security implications, but this is intended to be done at compile time, by adding attributes in different parts of the app, not dynamically.
The text was updated successfully, but these errors were encountered: