« All deprecation guides
Deprecation Guide for renderToElement
until: 2.12.0
id: code-rendertoelement-code
Using the renderToElement
is deprecated in favor of appendTo
.
Please refactor to use appendTo
:
For example, if you had:
component.renderToElement('div');
Would be refactored to:
let element = document.createElement('div');
component.appendTo(element);
Note that both APIs are private, so no public API is being deprecated here.