htmx-router
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -172,2 +172,4 @@ import { init, parse } from "es-module-lexer"; | ||
function CleanNode(node: Node) { | ||
if (document.body.contains(node)) return; // it wasn't actually removed | ||
if (node instanceof HTMLElement) { | ||
@@ -174,0 +176,0 @@ const root = mounted.get(node); |
@@ -49,2 +49,3 @@ import { ServerOnlyWarning } from "./util.js"; | ||
func(element, json); | ||
element.setAttribute("component", funcName); | ||
element.setAttribute("mounted", "yes"); | ||
@@ -51,0 +52,0 @@ } |
{ | ||
"name": "htmx-router", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A lightweight SSR framework with server+client islands", | ||
"keywords": [ | ||
"htmx", "router", "client islands", "ssr", "vite" | ||
"htmx", | ||
"router", | ||
"client islands", | ||
"ssr", | ||
"vite" | ||
], | ||
@@ -8,0 +12,0 @@ "main": "./index.js", |
75553
2155