How to use the inferno.__render function in inferno

To help you get started, we’ve selected a few inferno examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github infernojs / inferno / packages / inferno-compat / src / index.ts View on Github external
function render(rootInput, container, cb = null, context = EMPTY_OBJ) {
  __render(rootInput, container, cb, context);

  const input = container.$V;

  if (input && input.flags & VNodeFlags.Component) {
    return input.children;
  }
}
github infernojs / inferno / packages / inferno-compat / src / index.ts View on Github external
function unmountComponentAtNode(container: Element | SVGAElement | DocumentFragment): boolean {
  __render(null, container, null, null);
  return true;
}