[Vuejs]-Why table elements are nonStringifiable when vue's compiler stringify hoist?

-1👍

I had got the reply of vue’s participator
link: https://github.com/vuejs/core/commit/a938b61edca63c1f03f99b85de3f2a3a519268e6
and now i know that it will cause error when use innerHTML to insert table elements into warpper dom.
such as

const table = document.getElementById('table');
table.innerHTML = `<tr><td>123</td></tr>`

this will cause error:
IE9:Invalid target element for this operation.
IE6-8:Unknown runtime error

Leave a comment