Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function startApp({ app, elm, replaceElm, snabbdomModules }) {
const modules = snabbdomModules.concat(eventsModule)
setPatchFunction(init(modules))
renderSync(replaceElm ? toVNode(elm) : elm, app, replaceElm)
}
export function initMorph(node: Node): void {
normalize(toVNode(node), true)
}