mono-jsx 0.10.0-beta.1 → 0.10.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/jsx-runtime.mjs +2 -2
- package/package.json +1 -1
package/jsx-runtime.mjs
CHANGED
|
@@ -830,9 +830,9 @@ async function renderNode(rc, node, stripSlotProp) {
|
|
|
830
830
|
const now = Date.now();
|
|
831
831
|
const value = cache.get(key);
|
|
832
832
|
if (value && (!value.expiresAt || value.expiresAt > now)) {
|
|
833
|
-
write("<!--
|
|
833
|
+
write("<!-- cache-hit -->");
|
|
834
834
|
write(value.html);
|
|
835
|
-
write("<!-- /
|
|
835
|
+
write("<!-- /cache -->");
|
|
836
836
|
} else {
|
|
837
837
|
let buf = "";
|
|
838
838
|
await renderChildren(
|