Documentation / @zerotal/flow / compiler/helpers
compiler/helpers
@zerotal/flow/compiler-helpers — tiny HTML-escaping helpers imported by
AOT-compiled render functions. These are the only runtime dependency of the
generated .zerotal/compiled/*.js files and are not intended for direct use.
Example
// Emitted by the Flow compiler into a compiled render function:
html += "<p>" + __esc(this.name) + "</p>";
html += '<a href="' + __escAttr(this.url) + '">link</a>';