hmr-without-loop
Rich Harris 3 days ago
parent 8fc4f25839
commit 0625ec8ffa

@ -12,7 +12,6 @@ import { get } from '../runtime.js';
* @param {Component} component * @param {Component} component
*/ */
export function hmr(component) { export function hmr(component) {
let v = -1;
let s = source(0); let s = source(0);
/** /**
@ -20,6 +19,7 @@ export function hmr(component) {
* @param {any} props * @param {any} props
*/ */
function wrapper(anchor, props) { function wrapper(anchor, props) {
let v = -1;
let instance = {}; let instance = {};
/** @type {Effect} */ /** @type {Effect} */

Loading…
Cancel
Save