I think a disadvantage of the imperative API is that it makes existing HTML form behavior rely on JS, with all of its baggage (e.g. CSP).
The issues with link don't seem material - sure, we'll have to specify how it works, but it seems like a lesser concern.
Also this doesn't have to be link, it can be a new script type with JSON contents of sorts.
I think a disadvantage of the imperative API is that it makes existing HTML form behavior rely on JS, with all of its baggage (e.g. CSP).
The issues with
linkdon't seem material - sure, we'll have to specify how it works, but it seems like a lesser concern.Also this doesn't have to be
link, it can be a new script type with JSON contents of sorts.