-
Notifications
You must be signed in to change notification settings - Fork 29
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
Turn attrs into an object #38
Comments
@nippur72 , you are right and I have it in my TODO for the next version. It is one reason for |
maybe in v2.4, which also will include the remotion of |
I also would love to see this feature landing in riot@3.0.0 |
the attributes can be spreaded with v4.0.0. |
When a tag is compiled,
attrs
are stored as a plain string and later at runtime they are processed with thewalkAttributes
function (during themount
event).I suggest to move attribute parsing into compiler, outputting attributes as a plain javascript object (key-value pairs) so it's easier and faster to process them at runtime.
The text was updated successfully, but these errors were encountered: