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
As the title says, there are attributes where it could make sense to provide conveniences for setting them up, ie:
Form{}.method(…)// versusForm(method:…){}
I'm not suggesting removing the .method(…) modifier, but if it always needs to be specified, it may be cleaner in use to allow specifying it at the point of creation. I'm sure there are other elements where this makes sense.
I'm also aware of the attributes parameter, but that provides no type-safety.
The text was updated successfully, but these errors were encountered:
As the title says, there are attributes where it could make sense to provide conveniences for setting them up, ie:
I'm not suggesting removing the
.method(…)
modifier, but if it always needs to be specified, it may be cleaner in use to allow specifying it at the point of creation. I'm sure there are other elements where this makes sense.I'm also aware of the
attributes
parameter, but that provides no type-safety.The text was updated successfully, but these errors were encountered: