@solidjs/web 2.0.0-rc.21 → 2.0.0-rc.22

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/dist/web.js CHANGED
@@ -1,6 +1,6 @@
1
- import { createRenderEffect, createMemo, enableHydration, $PROXY, untrack, runWithOwner, createRoot, getOwner, ROOT_ERROR_HOOK, flatten, flush, createComponent, omit, createOwner, createSignal, createEffect } from 'solid-js';
2
- export { Errored, For, Hydration, Loading, Match, NoHydration, Repeat, Reveal, Show, Switch, createComponent, dynamicComponent, getOwner, merge as mergeProps, untrack } from 'solid-js';
3
- import { sharedConfig, enableServerComponentHydration, resolvedTable, viewOf, OmitView, hasStaticKeys, SOURCE_MEMO, sourceHas, SOURCE_OMIT, sourceGet, sourceKeys, SOURCE_PROXY, SOURCE_PLAIN, dynamicCore } from 'solid-js/internal';
1
+ import { createRenderEffect, createMemo, enableHydration, $PROXY, untrack, runRefCallback, createRoot, getOwner, ROOT_ERROR_HOOK, flatten, flush, runWithOwner, heldRead, setSwapHook, isHidden, createComponent, omit, createOwner, createSignal, createEffect } from 'solid-js';
2
+ export { Errored, For, Hydration, Loading, Match, NoHydration, Repeat, Reveal, Show, Switch, createComponent, dynamicComponent, getOwner, heldRead, merge as mergeProps, untrack } from 'solid-js';
3
+ import { sharedConfig, enableServerComponentHydration, hasStaticKeys, viewOf, OmitView, sourceHas, SOURCE_OMIT, sourceGet, SOURCE_MEMO, SOURCE_PROXY, SOURCE_PLAIN, sourceKeys, resolvedTable, dynamicCore } from 'solid-js/internal';
4
4
 
5
5
  const DOMWithState = {
6
6
  INPUT: {
@@ -32,6 +32,7 @@ const DOMWithState = {
32
32
  };
33
33
  const ChildProperties = /*#__PURE__*/new Set(["innerHTML", "textContent", "innerText", "children"]);
34
34
  const $$SLOT = /*#__PURE__*/Symbol("slot");
35
+ const $$INDEX = /*#__PURE__*/Symbol("index");
35
36
  const $$HOST = /*#__PURE__*/Symbol("host");
36
37
  const DelegatedEvents = /*#__PURE__*/new Set(["beforeinput", "click", "dblclick", "contextmenu", "focusin", "focusout", "input", "keydown", "keyup", "mousedown", "mousemove", "mouseout", "mouseover", "mouseup", "pointerdown", "pointermove", "pointerout", "pointerover", "pointerup", "touchend", "touchmove", "touchstart"]);
37
38
  const SVGElements = /*#__PURE__*/new Set([
@@ -71,32 +72,36 @@ function memo(fn) {
71
72
  }
72
73
 
73
74
  function reconcileArrays(parentNode, a, b, marker) {
74
- let active = parentNode.moveBefore && parentNode.isConnected && document.activeElement;
75
- if (active === document.body) active = null;
75
+ let bLength = b.length,
76
+ aEnd = a.length,
77
+ bEnd = bLength,
78
+ aStart = 0,
79
+ bStart = 0,
80
+ stamped,
81
+ after,
82
+ index,
83
+ anchor;
84
+ while (aStart < aEnd && a[aStart] === b[bStart]) {
85
+ aStart++;
86
+ bStart++;
87
+ }
88
+ if (aStart === aEnd && bStart === bEnd) return;
89
+ const mv = parentNode.moveBefore && parentNode.isConnected;
76
90
  const slot = marker || parentNode;
77
91
  const insert = (n, ref) => {
78
- active && n.isConnected && n.contains(active) ? parentNode.moveBefore(n, ref) : parentNode.insertBefore(n, ref);
92
+ mv && n.isConnected ? parentNode.moveBefore(n, ref) : parentNode.insertBefore(n, ref);
79
93
  if (marker || n[$$SLOT]) n[$$SLOT] = slot;
80
94
  };
81
- if (!a.length) {
95
+ if (!aEnd) {
82
96
  for (const n of b) insert(n, marker);
83
97
  return;
84
98
  }
85
- const isLive = n => {
86
- if (!n) return false;
87
- const tag = n[$$SLOT];
88
- return n.parentNode === parentNode && (!tag || tag === slot);
99
+ const isLive = n => n && n.parentNode === parentNode && (!(n = n[$$SLOT]) || n === slot);
100
+ const ref = k => {
101
+ while (k < bLength && !isLive(b[k])) k++;
102
+ return b[k] || (after && after.parentNode !== parentNode ? marker || null : after);
89
103
  };
90
- let bLength = b.length,
91
- aEnd = a.length,
92
- bEnd = bLength,
93
- aStart = 0,
94
- bStart = 0,
95
- tail = a[aEnd - 1],
96
- after = isLive(tail) ? tail.nextSibling : marker || null,
97
- map = null,
98
- anchor,
99
- anchorTag;
104
+ after = isLive(anchor = a[aEnd - 1]) ? anchor.nextSibling : marker || null;
100
105
  while (aStart < aEnd || bStart < bEnd) {
101
106
  if (a[aStart] === b[bStart]) {
102
107
  aStart++;
@@ -108,52 +113,43 @@ function reconcileArrays(parentNode, a, b, marker) {
108
113
  bEnd--;
109
114
  }
110
115
  if (aEnd === aStart) {
111
- let k = bEnd;
112
- while (k < bLength && !isLive(b[k])) k++;
113
- const node = k < bLength ? b[k] : after;
114
- while (bStart < bEnd) insert(b[bStart++], node);
115
- } else if (bEnd === bStart) {
116
- while (aStart < aEnd) {
117
- const n = a[aStart++];
118
- if ((!map || !map.has(n)) && isLive(n)) n.remove();
119
- }
120
- } else if ((anchor = a[aStart]) === b[bEnd - 1] && b[bStart] === a[aEnd - 1] && anchor.parentNode === parentNode && (!(anchorTag = anchor[$$SLOT]) || anchorTag === slot)) {
116
+ anchor = ref(bEnd);
117
+ while (bStart < bEnd) insert(b[bStart++], anchor);
118
+ } else if (!isLive(anchor = a[aStart])) aStart++;
119
+ else if (b[bStart] === a[aEnd - 1] && (
120
+ anchor === b[bEnd - 1] ||
121
+ !stamped && anchor === b[bStart + 1] && a[aStart + 1] === b[bStart + 2])) {
121
122
  do {
122
123
  insert(a[--aEnd], anchor);
123
124
  bStart++;
124
- if (aStart >= aEnd - 1 || bStart >= bEnd) break;
125
- } while (a[aStart] === b[bEnd - 1] && b[bStart] === a[aEnd - 1]);
125
+ } while (aStart < aEnd - 1 && bStart < bEnd && anchor === b[bEnd - 1] && b[bStart] === a[aEnd - 1]);
126
+ } else if (bStart < bEnd && anchor === b[bEnd - 1] && a[aStart + 1] !== b[bEnd - 2] && isLive(b[bStart]) && isLive(a[aEnd - 1])) {
127
+ insert(anchor, ref(bEnd));
128
+ aStart++;
129
+ bEnd--;
126
130
  } else {
127
- if (!isLive(a[aStart])) {
128
- aStart++;
129
- continue;
131
+ if (!stamped) {
132
+ stamped = 1;
133
+ for (index = bStart; index < bEnd;) b[index][$$INDEX] = index++;
130
134
  }
131
- if (!map) {
132
- map = new Map();
133
- let i = bStart;
134
- while (i < bEnd) map.set(b[i], i++);
135
- }
136
- const index = map.get(a[aStart]);
137
- if (index != null) {
135
+ if ((index = anchor[$$INDEX]) >= 0 && b[index] === anchor) {
138
136
  if (bStart < index && index < bEnd) {
139
137
  let i = aStart,
140
- sequence = 1,
141
- t;
142
- while (++i < aEnd && i < bEnd) {
143
- if ((t = map.get(a[i])) == null || t !== index + sequence) break;
144
- sequence++;
145
- }
138
+ sequence = 1;
139
+ while (++i < aEnd && i < bEnd && a[i] === b[index + sequence]) sequence++;
146
140
  if (sequence > index - bStart) {
147
- const node = a[aStart];
148
- while (bStart < index) insert(b[bStart++], node);
141
+ while (bStart < index) insert(b[bStart++], anchor);
149
142
  } else {
150
- const newNode = b[bStart++],
151
- node = a[aStart++];
152
- active && parentNode.contains(active) ? insert(newNode, node) : parentNode.replaceChild(newNode, node);
143
+ const newNode = b[bStart++];
144
+ aStart++;
145
+ mv ? insert(newNode, anchor) : parentNode.replaceChild(newNode, anchor);
153
146
  if (marker || newNode[$$SLOT]) newNode[$$SLOT] = slot;
154
147
  }
155
148
  } else aStart++;
156
- } else a[aStart++].remove();
149
+ } else {
150
+ anchor.remove();
151
+ aStart++;
152
+ }
157
153
  }
158
154
  }
159
155
  }
@@ -411,9 +407,16 @@ function render(code, element, init, options = {}) {
411
407
  element.textContent = "";
412
408
  };
413
409
  }
410
+ let policy;
411
+ function setTrustedTypesPolicy(value) {
412
+ policy = value;
413
+ }
414
+ function trustedHTML(html) {
415
+ return policy ? policy.createHTML(html) : html;
416
+ }
414
417
  function create(html, bypassGuard, flag) {
415
418
  const t = document.createElement("template");
416
- t.innerHTML = html;
419
+ t.innerHTML = policy ? policy.createHTML(html) : html;
417
420
  const node = t.content.firstChild;
418
421
  return flag === 2 ? node.firstChild : node;
419
422
  }
@@ -498,6 +501,9 @@ function setProperty(node, name, value) {
498
501
  function setStatefulProperty(node, name, value) {
499
502
  node[name] = value;
500
503
  }
504
+ function strictHandler(fn) {
505
+ return fn();
506
+ }
501
507
  let claimHandlers = null;
502
508
  const claimAttributeSets = [];
503
509
  const CLAIM_SEAM = Symbol.for("solid.element-claims");
@@ -577,7 +583,7 @@ function className(node, value, prev) {
577
583
  return;
578
584
  }
579
585
  if (typeof value === "string") {
580
- node._$classes = undefined;
586
+ if (node._$classes) node._$classes = undefined;
581
587
  value !== prev && node.setAttribute("class", value);
582
588
  return;
583
589
  }
@@ -683,14 +689,22 @@ function setStyleProperty(node, name, value) {
683
689
  function spread(node, props, skipChildren, skip, name, loc) {
684
690
  const prevProps = {};
685
691
  const owner = claimHandlers !== null && (node.localName === "a" || node.localName === "form") ? getOwner() : undefined;
692
+ let held = 0;
686
693
  const apply = newProps => {
687
694
  const r = newProps.ref;
688
695
  if (r !== prevProps.ref && (typeof r === "function" || Array.isArray(r))) ref(() => r, node);
696
+ spreadHeld = held;
689
697
  assign(node, newProps, true, prevProps, true);
698
+ spreadHeld = 0;
690
699
  if (owner !== undefined) claimElement(node, owner);
691
700
  };
701
+ const read = fn => () => {
702
+ const p = fn();
703
+ held = heldRead();
704
+ return p;
705
+ };
692
706
  if (Array.isArray(props)) {
693
- effect(() => collectSources({}, props, undefined, skip), apply);
707
+ effect(read(() => collectSources({}, props, undefined, skip)), apply);
694
708
  if (!skipChildren && !(skip !== undefined && skip("children"))) insert(node, () => {
695
709
  for (let i = props.length - 1; i >= 0; i--) {
696
710
  const s = resolveSource(props[i]);
@@ -699,7 +713,7 @@ function spread(node, props, skipChildren, skip, name, loc) {
699
713
  });
700
714
  return prevProps;
701
715
  }
702
- effect(() => {
716
+ const collect = () => {
703
717
  const source = resolveSource(props);
704
718
  const newProps = {};
705
719
  const table = resolvedTable(source);
@@ -709,7 +723,8 @@ function spread(node, props, skipChildren, skip, name, loc) {
709
723
  if (view instanceof OmitView) collectProps(newProps, view, SOURCE_OMIT, skip);else if (view !== undefined) collectSources(newProps, view.sources, view.kinds, skip);else collectProps(newProps, source, $PROXY in source ? SOURCE_PROXY : SOURCE_PLAIN, skip);
710
724
  }
711
725
  return newProps;
712
- }, apply);
726
+ };
727
+ effect(read(collect), apply);
713
728
  if (!skipChildren && !(skip !== undefined && skip("children"))) {
714
729
  if (typeof props !== "function" && props != null && hasStaticKeys(props)) {
715
730
  const desc = Object.getOwnPropertyDescriptor(props, "children");
@@ -797,7 +812,7 @@ function applyRef(r, element) {
797
812
  }
798
813
  function ref(fn, element) {
799
814
  const resolved = untrack(fn);
800
- runWithOwner(null, () => applyRef(resolved, element));
815
+ runRefCallback(() => applyRef(resolved, element));
801
816
  }
802
817
  function scope(fn) {
803
818
  fn.$s = true;
@@ -808,6 +823,10 @@ const SCOPE_OPTIONS = {
808
823
  };
809
824
  let hydrationRt = null;
810
825
  let selectInsert = null;
826
+ let hostRt = null;
827
+ function installHostTagging() {
828
+ hostRt = tagHost;
829
+ }
811
830
  function installHydrationRuntime() {
812
831
  hydrationRt = {
813
832
  claimInitial(parent, multi, initial) {
@@ -818,8 +837,7 @@ function installHydrationRuntime() {
818
837
  },
819
838
  reclaimRegion(current, parent, marker) {
820
839
  if (!sharedConfig.hydrating || current == null || !parent.isConnected) return current;
821
- const first = Array.isArray(current) ? current[0] : current;
822
- if (first == null || first.isConnected) return current;
840
+ if (Array.isArray(current) ? current.every(n => !n || n.isConnected) : current.isConnected) return current;
823
841
  let nodes;
824
842
  if (marker) {
825
843
  nodes = [];
@@ -888,7 +906,7 @@ function insert(parent, accessor, marker, initial, options) {
888
906
  accessor = normalize(accessor, initial, multi, true);
889
907
  if (typeof accessor !== "function") {
890
908
  insertExpression(parent, accessor, initial, marker);
891
- host && tagHost(accessor, host);
909
+ hostRt !== null && host && hostRt(accessor, host);
892
910
  return;
893
911
  }
894
912
  }
@@ -911,13 +929,13 @@ function insert(parent, accessor, marker, initial, options) {
911
929
  } : options;
912
930
  effect(() => (hydrationRt !== null && (current = hydrationRt.reclaimRegion(current, parent, marker)), normalize(value, current, multi)), inner => {
913
931
  current = insertExpression(parent, inner, current, marker);
914
- host && tagHost(current, host);
932
+ hostRt !== null && host && hostRt(current, host);
915
933
  }, innerOptions);
916
934
  return INNER_OWNED;
917
935
  }, value => {
918
936
  if (value === INNER_OWNED) return;
919
937
  current = insertExpression(parent, value, current, marker);
920
- host && tagHost(current, host);
938
+ hostRt !== null && host && hostRt(current, host);
921
939
  },
922
940
  accessor.$s ? options ? {
923
941
  ...options,
@@ -1129,6 +1147,7 @@ function initHeadRegistry() {
1129
1147
  headRegistrations = [];
1130
1148
  headOwned = new Map();
1131
1149
  headApplied = new Map();
1150
+ setSwapHook(scheduleHeadApply);
1132
1151
  const t = document.querySelector("title");
1133
1152
  headFallbackTitle = t ? t.hasAttribute("data-dh") ? t.getAttribute("data-dhf") : t.textContent : null;
1134
1153
  if (globalThis._$HY) globalThis._$HY.h = applyServerHeadOps;
@@ -1179,7 +1198,7 @@ function flushHeadRegistry() {
1179
1198
  return;
1180
1199
  }
1181
1200
  headScheduled = false;
1182
- const winners = resolveHead(headRegistrations);
1201
+ const winners = resolveHead(headRegistrations.filter(r => !isHidden(r.node)));
1183
1202
  for (const [identity, els] of headOwned) {
1184
1203
  if (winners.has(identity)) continue;
1185
1204
  headOwned.delete(identity);
@@ -1291,10 +1310,12 @@ function useHead(tags) {
1291
1310
  initHeadRegistry();
1292
1311
  const reg = {
1293
1312
  seq: -1,
1294
- tags: null
1313
+ tags: null,
1314
+ node: null
1295
1315
  };
1296
1316
  const uid = ++headUid;
1297
1317
  effect(() => {
1318
+ reg.node = getOwner();
1298
1319
  let list = typeof tags === "function" ? tags() : tags;
1299
1320
  if (!Array.isArray(list)) list = [list];
1300
1321
  const replaceable = [];
@@ -1616,10 +1637,11 @@ function flattenClassList(list, result) {
1616
1637
  else if (typeof item !== "boolean" && (item || item === 0)) result[item] = true;
1617
1638
  }
1618
1639
  }
1640
+ let spreadHeld = 0;
1619
1641
  function assignProp(node, prop, value, prev, skipRef, nodeName) {
1620
1642
  if (prop === "style") return style(node, value, prev), value;
1621
1643
  if (prop === "class") return className(node, value, prev), value;
1622
- if (value === prev && DOMWithState[nodeName]?.[prop] !== 1) return prev;
1644
+ if (value === prev && (spreadHeld || DOMWithState[nodeName]?.[prop] !== 1)) return prev;
1623
1645
  if (prop === "ref") {
1624
1646
  if (!skipRef && value) ref(() => value, node);
1625
1647
  return value;
@@ -1664,37 +1686,32 @@ function eventHandler(e, container, state) {
1664
1686
  e[$$EVENT_OWNER] = owner;
1665
1687
  let node = resumeNode || e.target;
1666
1688
  const key = EVENT_KEY + e.type;
1667
- const retarget = value => Object.defineProperty(e, "target", {
1689
+ const define = (name, value) => Object.defineProperty(e, name, {
1668
1690
  configurable: true,
1669
1691
  value
1670
1692
  });
1671
1693
  const handleNode = () => {
1672
1694
  const handler = node[key];
1673
1695
  if (handler && !node.disabled) {
1696
+ define("currentTarget", node);
1674
1697
  const data = node[`${key}Data`];
1675
1698
  data !== undefined ? handler.call(node, data, e) : typeof handler === "function" ? handler.call(node, e) : handler.handleEvent(e);
1676
1699
  if (e.cancelBubble) return;
1677
1700
  }
1678
- node.host && typeof node.host !== "string" && !node.host._$host && node.contains(e.target) && retarget(node.host);
1701
+ node.host && typeof node.host !== "string" && !node.host._$host && node.contains(e.target) && define("target", node.host);
1679
1702
  return true;
1680
1703
  };
1681
1704
  const atOwner = () => node === owner || node.parentNode === owner;
1682
1705
  const walkUpTree = () => {
1683
1706
  while (node && handleNode() && !atOwner()) node = parentOf(node);
1684
1707
  };
1685
- Object.defineProperty(e, "currentTarget", {
1686
- configurable: true,
1687
- get() {
1688
- return node || owner;
1689
- }
1690
- });
1691
1708
  if (resumeNode) {
1692
1709
  if (resumeNode === e.target) node = parentOf(resumeNode);
1693
1710
  if (node && node !== owner) walkUpTree();
1694
1711
  } else if (e.composedPath) {
1695
1712
  const path = e.composedPath();
1696
1713
  if (path.length) {
1697
- retarget(path[0]);
1714
+ define("target", path[0]);
1698
1715
  for (let i = 0; i < path.length; i++) {
1699
1716
  node = path[i];
1700
1717
  if (!handleNode()) break;
@@ -1763,7 +1780,8 @@ function insertExpression(parent, value, current, marker) {
1763
1780
  if (t === "string" || t === "number") {
1764
1781
  const prev = currentArray ? current[i] : undefined;
1765
1782
  if (prev && prev.nodeType === 3) {
1766
- if (prev.data !== "" + item) prev.data = item;
1783
+ const last = prev._$d;
1784
+ if (last !== item && (last !== undefined || prev.data !== "" + item)) prev.data = prev._$d = item;
1767
1785
  value[i] = prev;
1768
1786
  } else value[i] = document.createTextNode(item);
1769
1787
  }
@@ -1823,13 +1841,16 @@ function normalize(value, current, multi, doNotUnwrap) {
1823
1841
  }
1824
1842
  return value;
1825
1843
  }
1844
+ function hostGetter() {
1845
+ return this[$$HOST]();
1846
+ }
1826
1847
  function tagHost(value, host) {
1827
1848
  if (Array.isArray(value)) {
1828
1849
  for (let i = 0, len = value.length; i < len; i++) tagHost(value[i], host);
1829
1850
  } else if (value && value.nodeType && value[$$HOST] !== host) {
1830
1851
  value[$$HOST] = host;
1831
1852
  Object.defineProperty(value, "_$host", {
1832
- get: host,
1853
+ get: hostGetter,
1833
1854
  configurable: true
1834
1855
  });
1835
1856
  }
@@ -2090,6 +2111,7 @@ function portalImpl(props) {
2090
2111
  const m = untrack(mount);
2091
2112
  m.appendChild(endMarker);
2092
2113
  const dispose = runWithOwner(owner, () => createRoot(d => {
2114
+ installHostTagging();
2093
2115
  insert(m, c, endMarker, undefined, {
2094
2116
  host: () => treeMarker.parentNode
2095
2117
  });
@@ -2175,4 +2197,4 @@ _moduleUrl) {
2175
2197
  function httpStatus(_code, _text) {}
2176
2198
  function httpHeader(_name, _value, _options) {}
2177
2199
 
2178
- export { ChildProperties, DOMElements, DOMWithState, DelegatedEvents, Dynamic, HREF, HydrationScript, MathMLElements, NULL_BODY_STATUSES, Namespaces, Portal, RESPONSE_HEADER_VALUE_LIMIT, REVALIDATE_ALL, REVALIDATE_HEADER, RawTextElements, RequestContext, ResponseEnvelope, SAFE_ERROR, SVGElements, VoidElements, acquireAsset, addEvent, applyRef, assign, claimElement, claimElementTree, className, clearFlashCookie, clientOnly, commitEventResponse, composeMiddleware, configureServerErrors, createRequestEvent, createResponseStub, createSSRResponse, delegateEvents, dispatchAsInteraction, dynamic, dynamicProperty, effect, escape, generateHydrationScript, getDelegatedRoot, getExpectedRedirectStatus, getFirstChild, getHydrationKey, getHydrationWriter, getNextElement, getNextMarker, getNextMatch, getNextSibling, getRequestEvent, getServerFunctionMetadata, getServerFunctionRPC, getTraceContext, hasFlashCookie, hasServerLinkState, httpHeader, httpStatus, hydrate, insert, installHydrationRuntime, installServerComponentHydration, isDev, isHref, isResponseEnvelope, isSafeError, isServer, isServerFunction, markSafeError, memo, parseCookieHeader, readShallow, redirect, ref, registerDelegatedContainer, registerDelegatedRoot, registerElementClaim, reload, render, renderToStream, renderToString, reportRequestFailure, resolveSSRNode, respond, runHydrationEvents, scope, serializeCookie, setAttribute, setAttributeNS, setLinkClaim, setProperty, setStatefulProperty, setStyleProperty, spread, ssr, ssrAttribute, ssrClassName, ssrElement, ssrElementAttribute, ssrGroup, ssrHydrationKey, ssrLinkClaim, ssrStyle, ssrStyleProperties, ssrStyleProperty, style, takeHydrationValue, template, unregisterDelegatedContainer, unregisterDelegatedRoot, useHead, waitAsset, warmAsset };
2200
+ export { ChildProperties, DOMElements, DOMWithState, DelegatedEvents, Dynamic, HREF, HydrationScript, MathMLElements, NULL_BODY_STATUSES, Namespaces, Portal, RESPONSE_HEADER_VALUE_LIMIT, REVALIDATE_ALL, REVALIDATE_HEADER, RawTextElements, RequestContext, ResponseEnvelope, SAFE_ERROR, SVGElements, VoidElements, acquireAsset, addEvent, applyRef, assign, claimElement, claimElementTree, className, clearFlashCookie, clientOnly, commitEventResponse, composeMiddleware, configureServerErrors, createRequestEvent, createResponseStub, createSSRResponse, delegateEvents, dispatchAsInteraction, dynamic, dynamicProperty, effect, escape, generateHydrationScript, getDelegatedRoot, getExpectedRedirectStatus, getFirstChild, getHydrationKey, getHydrationWriter, getNextElement, getNextMarker, getNextMatch, getNextSibling, getRequestEvent, getServerFunctionMetadata, getServerFunctionRPC, getTraceContext, hasFlashCookie, hasServerLinkState, httpHeader, httpStatus, hydrate, insert, installHostTagging, installHydrationRuntime, installServerComponentHydration, isDev, isHref, isResponseEnvelope, isSafeError, isServer, isServerFunction, markSafeError, memo, parseCookieHeader, readShallow, redirect, ref, registerDelegatedContainer, registerDelegatedRoot, registerElementClaim, reload, render, renderToStream, renderToString, reportRequestFailure, resolveSSRNode, respond, runHydrationEvents, scope, serializeCookie, setAttribute, setAttributeNS, setLinkClaim, setProperty, setStatefulProperty, setStyleProperty, setTrustedTypesPolicy, spread, ssr, ssrAttribute, ssrClassName, ssrElement, ssrElementAttribute, ssrGroup, ssrHydrationKey, ssrLinkClaim, ssrStyle, ssrStyleProperties, ssrStyleProperty, strictHandler, style, takeHydrationValue, template, trustedHTML, unregisterDelegatedContainer, unregisterDelegatedRoot, useHead, waitAsset, warmAsset };