@bleedingdev/tanstack-redact 0.0.0-bootstrap → 0.2.1
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/LICENSE +1 -1
- package/dist/cloudflare/index.d.ts +6 -0
- package/dist/cloudflare/index.js +39 -0
- package/dist/cloudflare/index.js.map +7 -0
- package/dist/core/attributes.d.ts +4 -0
- package/dist/core/attributes.js +30 -0
- package/dist/core/attributes.js.map +7 -0
- package/dist/core/browser.d.ts +9 -0
- package/dist/core/browser.js +32 -0
- package/dist/core/browser.js.map +7 -0
- package/dist/core/class-props.d.ts +1 -0
- package/dist/core/class-props.js +15 -0
- package/dist/core/class-props.js.map +7 -0
- package/dist/core/devtools.d.ts +26 -0
- package/dist/core/devtools.js +70 -0
- package/dist/core/devtools.js.map +7 -0
- package/dist/core/functions.d.ts +6 -0
- package/dist/core/functions.js +14 -0
- package/dist/core/functions.js.map +7 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.js +3 -0
- package/dist/core/index.js.map +7 -0
- package/dist/core/internal.d.ts +103 -0
- package/dist/core/internal.js +43 -0
- package/dist/core/internal.js.map +7 -0
- package/dist/core/resource-hints.d.ts +7 -0
- package/dist/core/resource-hints.js +20 -0
- package/dist/core/resource-hints.js.map +7 -0
- package/dist/core/types.d.ts +23 -0
- package/dist/core/types.js +8 -0
- package/dist/core/types.js.map +7 -0
- package/dist/core/unitless-style.d.ts +1 -0
- package/dist/core/unitless-style.js +5 -0
- package/dist/core/unitless-style.js.map +7 -0
- package/dist/dom/_all.d.ts +27 -0
- package/dist/dom/_all.js +51 -0
- package/dist/dom/_all.js.map +7 -0
- package/dist/dom/client.d.ts +9 -0
- package/dist/dom/client.js +13 -0
- package/dist/dom/client.js.map +7 -0
- package/dist/dom/commit.d.ts +27 -0
- package/dist/dom/commit.js +237 -0
- package/dist/dom/commit.js.map +7 -0
- package/dist/dom/devtools-effects.d.ts +8 -0
- package/dist/dom/devtools-effects.js +80 -0
- package/dist/dom/devtools-effects.js.map +7 -0
- package/dist/dom/devtools.d.ts +33 -0
- package/dist/dom/devtools.js +635 -0
- package/dist/dom/devtools.js.map +7 -0
- package/dist/dom/dispatcher.d.ts +4 -0
- package/dist/dom/dispatcher.js +437 -0
- package/dist/dom/dispatcher.js.map +7 -0
- package/dist/dom/document-metadata.d.ts +7 -0
- package/dist/dom/document-metadata.js +44 -0
- package/dist/dom/document-metadata.js.map +7 -0
- package/dist/dom/dom.d.ts +11 -0
- package/dist/dom/dom.js +165 -0
- package/dist/dom/dom.js.map +7 -0
- package/dist/dom/error-info.d.ts +2 -0
- package/dist/dom/error-info.js +19 -0
- package/dist/dom/error-info.js.map +7 -0
- package/dist/dom/event-replay.d.ts +13 -0
- package/dist/dom/event-replay.js +24 -0
- package/dist/dom/event-replay.js.map +7 -0
- package/dist/dom/features/activity/full.d.ts +1 -0
- package/dist/dom/features/activity/full.js +140 -0
- package/dist/dom/features/activity/full.js.map +7 -0
- package/dist/dom/features/activity/index.d.ts +1 -0
- package/dist/dom/features/activity/index.js +2 -0
- package/dist/dom/features/activity/index.js.map +7 -0
- package/dist/dom/features/activity/stub.d.ts +1 -0
- package/dist/dom/features/activity/stub.js +10 -0
- package/dist/dom/features/activity/stub.js.map +7 -0
- package/dist/dom/features/class/full.d.ts +1 -0
- package/dist/dom/features/class/full.js +208 -0
- package/dist/dom/features/class/full.js.map +7 -0
- package/dist/dom/features/class/index.d.ts +1 -0
- package/dist/dom/features/class/index.js +2 -0
- package/dist/dom/features/class/index.js.map +7 -0
- package/dist/dom/features/class/stub.d.ts +1 -0
- package/dist/dom/features/class/stub.js +46 -0
- package/dist/dom/features/class/stub.js.map +7 -0
- package/dist/dom/features/context/full.d.ts +4 -0
- package/dist/dom/features/context/full.js +103 -0
- package/dist/dom/features/context/full.js.map +7 -0
- package/dist/dom/features/context/index.d.ts +1 -0
- package/dist/dom/features/context/index.js +2 -0
- package/dist/dom/features/context/index.js.map +7 -0
- package/dist/dom/features/context/stub.d.ts +4 -0
- package/dist/dom/features/context/stub.js +21 -0
- package/dist/dom/features/context/stub.js.map +7 -0
- package/dist/dom/features/forward-ref/full.d.ts +1 -0
- package/dist/dom/features/forward-ref/full.js +9 -0
- package/dist/dom/features/forward-ref/full.js.map +7 -0
- package/dist/dom/features/forward-ref/index.d.ts +1 -0
- package/dist/dom/features/forward-ref/index.js +2 -0
- package/dist/dom/features/forward-ref/index.js.map +7 -0
- package/dist/dom/features/forward-ref/stub.d.ts +1 -0
- package/dist/dom/features/forward-ref/stub.js +9 -0
- package/dist/dom/features/forward-ref/stub.js.map +7 -0
- package/dist/dom/features/fragment-refs/index.d.ts +1 -0
- package/dist/dom/features/fragment-refs/index.js +9 -0
- package/dist/dom/features/fragment-refs/index.js.map +7 -0
- package/dist/dom/features/fragment-refs/stub.d.ts +5 -0
- package/dist/dom/features/fragment-refs/stub.js +17 -0
- package/dist/dom/features/fragment-refs/stub.js.map +7 -0
- package/dist/dom/features/hydration/full.d.ts +68 -0
- package/dist/dom/features/hydration/full.js +493 -0
- package/dist/dom/features/hydration/full.js.map +7 -0
- package/dist/dom/features/hydration/index.d.ts +1 -0
- package/dist/dom/features/hydration/index.js +2 -0
- package/dist/dom/features/hydration/index.js.map +7 -0
- package/dist/dom/features/hydration/stub.d.ts +36 -0
- package/dist/dom/features/hydration/stub.js +80 -0
- package/dist/dom/features/hydration/stub.js.map +7 -0
- package/dist/dom/features/index.d.ts +8 -0
- package/dist/dom/features/index.js +9 -0
- package/dist/dom/features/index.js.map +7 -0
- package/dist/dom/features/lazy/full.d.ts +1 -0
- package/dist/dom/features/lazy/full.js +23 -0
- package/dist/dom/features/lazy/full.js.map +7 -0
- package/dist/dom/features/lazy/index.d.ts +1 -0
- package/dist/dom/features/lazy/index.js +2 -0
- package/dist/dom/features/lazy/index.js.map +7 -0
- package/dist/dom/features/lazy/stub.d.ts +1 -0
- package/dist/dom/features/lazy/stub.js +19 -0
- package/dist/dom/features/lazy/stub.js.map +7 -0
- package/dist/dom/features/memo/full.d.ts +1 -0
- package/dist/dom/features/memo/full.js +34 -0
- package/dist/dom/features/memo/full.js.map +7 -0
- package/dist/dom/features/memo/index.d.ts +1 -0
- package/dist/dom/features/memo/index.js +2 -0
- package/dist/dom/features/memo/index.js.map +7 -0
- package/dist/dom/features/memo/stub.d.ts +1 -0
- package/dist/dom/features/memo/stub.js +9 -0
- package/dist/dom/features/memo/stub.js.map +7 -0
- package/dist/dom/features/portal/full.d.ts +1 -0
- package/dist/dom/features/portal/full.js +11 -0
- package/dist/dom/features/portal/full.js.map +7 -0
- package/dist/dom/features/portal/index.d.ts +1 -0
- package/dist/dom/features/portal/index.js +2 -0
- package/dist/dom/features/portal/index.js.map +7 -0
- package/dist/dom/features/portal/stub.d.ts +1 -0
- package/dist/dom/features/portal/stub.js +5 -0
- package/dist/dom/features/portal/stub.js.map +7 -0
- package/dist/dom/features/suspense/full.d.ts +1 -0
- package/dist/dom/features/suspense/full.js +389 -0
- package/dist/dom/features/suspense/full.js.map +7 -0
- package/dist/dom/features/suspense/index.d.ts +1 -0
- package/dist/dom/features/suspense/index.js +2 -0
- package/dist/dom/features/suspense/index.js.map +7 -0
- package/dist/dom/features/suspense/stub.d.ts +1 -0
- package/dist/dom/features/suspense/stub.js +4 -0
- package/dist/dom/features/suspense/stub.js.map +7 -0
- package/dist/dom/features/suspense-runtime/index.d.ts +1 -0
- package/dist/dom/features/suspense-runtime/index.js +2 -0
- package/dist/dom/features/suspense-runtime/index.js.map +7 -0
- package/dist/dom/features/suspense-runtime/stub.d.ts +1 -0
- package/dist/dom/features/suspense-runtime/stub.js +11 -0
- package/dist/dom/features/suspense-runtime/stub.js.map +7 -0
- package/dist/dom/features/view-transition/full.d.ts +7 -0
- package/dist/dom/features/view-transition/full.js +324 -0
- package/dist/dom/features/view-transition/full.js.map +7 -0
- package/dist/dom/features/view-transition/index.d.ts +1 -0
- package/dist/dom/features/view-transition/index.js +2 -0
- package/dist/dom/features/view-transition/index.js.map +7 -0
- package/dist/dom/features/view-transition/resources.d.ts +11 -0
- package/dist/dom/features/view-transition/resources.js +117 -0
- package/dist/dom/features/view-transition/resources.js.map +7 -0
- package/dist/dom/features/view-transition/stub.d.ts +7 -0
- package/dist/dom/features/view-transition/stub.js +21 -0
- package/dist/dom/features/view-transition/stub.js.map +7 -0
- package/dist/dom/features/view-transition/visual.d.ts +14 -0
- package/dist/dom/features/view-transition/visual.js +404 -0
- package/dist/dom/features/view-transition/visual.js.map +7 -0
- package/dist/dom/form-actions.d.ts +4 -0
- package/dist/dom/form-actions.js +74 -0
- package/dist/dom/form-actions.js.map +7 -0
- package/dist/dom/form-controls.d.ts +3 -0
- package/dist/dom/form-controls.js +91 -0
- package/dist/dom/form-controls.js.map +7 -0
- package/dist/dom/fragment-instance.d.ts +33 -0
- package/dist/dom/fragment-instance.js +449 -0
- package/dist/dom/fragment-instance.js.map +7 -0
- package/dist/dom/index.d.ts +61 -0
- package/dist/dom/index.js +71 -0
- package/dist/dom/index.js.map +7 -0
- package/dist/dom/portal.d.ts +2 -0
- package/dist/dom/portal.js +14 -0
- package/dist/dom/portal.js.map +7 -0
- package/dist/dom/react-ids.d.ts +6 -0
- package/dist/dom/react-ids.js +38 -0
- package/dist/dom/react-ids.js.map +7 -0
- package/dist/dom/reconcile.d.ts +86 -0
- package/dist/dom/reconcile.js +1305 -0
- package/dist/dom/reconcile.js.map +7 -0
- package/dist/dom/refresh.d.ts +12 -0
- package/dist/dom/refresh.js +174 -0
- package/dist/dom/refresh.js.map +7 -0
- package/dist/dom/resource-hints.d.ts +6 -0
- package/dist/dom/resource-hints.js +107 -0
- package/dist/dom/resource-hints.js.map +7 -0
- package/dist/dom/resource-store.d.ts +13 -0
- package/dist/dom/resource-store.js +47 -0
- package/dist/dom/resource-store.js.map +7 -0
- package/dist/dom/resources.d.ts +1 -0
- package/dist/dom/resources.js +46 -0
- package/dist/dom/resources.js.map +7 -0
- package/dist/dom/retained-effects.d.ts +6 -0
- package/dist/dom/retained-effects.js +67 -0
- package/dist/dom/retained-effects.js.map +7 -0
- package/dist/dom/root-internal.d.ts +11 -0
- package/dist/dom/root-internal.js +35 -0
- package/dist/dom/root-internal.js.map +7 -0
- package/dist/dom/root.d.ts +17 -0
- package/dist/dom/root.js +38 -0
- package/dist/dom/root.js.map +7 -0
- package/dist/dom/synthetic-event.d.ts +1 -0
- package/dist/dom/synthetic-event.js +35 -0
- package/dist/dom/synthetic-event.js.map +7 -0
- package/dist/dom/test-utils.d.ts +1 -0
- package/dist/dom/test-utils.js +5 -0
- package/dist/dom/test-utils.js.map +7 -0
- package/dist/dom/transitions.d.ts +9 -0
- package/dist/dom/transitions.js +147 -0
- package/dist/dom/transitions.js.map +7 -0
- package/dist/dom/tree.d.ts +5 -0
- package/dist/dom/tree.js +62 -0
- package/dist/dom/tree.js.map +7 -0
- package/dist/dom/walk.d.ts +2 -0
- package/dist/dom/walk.js +14 -0
- package/dist/dom/walk.js.map +7 -0
- package/dist/next/client.d.ts +9 -0
- package/dist/next/client.js +14 -0
- package/dist/next/client.js.map +7 -0
- package/dist/next/dev-cache-loader.cjs +13 -0
- package/dist/next/index.d.ts +2 -0
- package/dist/next/index.js +97 -0
- package/dist/next/index.js.map +7 -0
- package/dist/next/loader.cjs +10 -0
- package/dist/next/react.d.ts +71 -0
- package/dist/next/react.js +9 -0
- package/dist/next/react.js.map +7 -0
- package/dist/react/act.d.ts +3 -0
- package/dist/react/act.js +124 -0
- package/dist/react/act.js.map +7 -0
- package/dist/react/action-scope.d.ts +17 -0
- package/dist/react/action-scope.js +60 -0
- package/dist/react/action-scope.js.map +7 -0
- package/dist/react/activity.d.ts +7 -0
- package/dist/react/activity.js +7 -0
- package/dist/react/activity.js.map +7 -0
- package/dist/react/children.d.ts +8 -0
- package/dist/react/children.js +76 -0
- package/dist/react/children.js.map +7 -0
- package/dist/react/class.d.ts +36 -0
- package/dist/react/class.js +39 -0
- package/dist/react/class.js.map +7 -0
- package/dist/react/compiler-runtime.d.ts +1 -0
- package/dist/react/compiler-runtime.js +9 -0
- package/dist/react/compiler-runtime.js.map +7 -0
- package/dist/react/context.d.ts +32 -0
- package/dist/react/context.js +25 -0
- package/dist/react/context.js.map +7 -0
- package/dist/react/element.d.ts +13 -0
- package/dist/react/element.js +70 -0
- package/dist/react/element.js.map +7 -0
- package/dist/react/form-state.d.ts +26 -0
- package/dist/react/form-state.js +30 -0
- package/dist/react/form-state.js.map +7 -0
- package/dist/react/hooks.d.ts +67 -0
- package/dist/react/hooks.js +165 -0
- package/dist/react/hooks.js.map +7 -0
- package/dist/react/index.d.ts +99 -0
- package/dist/react/index.js +143 -0
- package/dist/react/index.js.map +7 -0
- package/dist/react/jsx-runtime.d.ts +24 -0
- package/dist/react/jsx-runtime.js +37 -0
- package/dist/react/jsx-runtime.js.map +7 -0
- package/dist/react/memo.d.ts +20 -0
- package/dist/react/memo.js +27 -0
- package/dist/react/memo.js.map +7 -0
- package/dist/react/portal.d.ts +1 -0
- package/dist/react/portal.js +5 -0
- package/dist/react/portal.js.map +7 -0
- package/dist/react/shared-internals.d.ts +52 -0
- package/dist/react/shared-internals.js +22 -0
- package/dist/react/shared-internals.js.map +7 -0
- package/dist/react/suspense.d.ts +15 -0
- package/dist/react/suspense.js +15 -0
- package/dist/react/suspense.js.map +7 -0
- package/dist/react/thenable.d.ts +1 -0
- package/dist/react/thenable.js +25 -0
- package/dist/react/thenable.js.map +7 -0
- package/dist/react/view-transition.d.ts +32 -0
- package/dist/react/view-transition.js +12 -0
- package/dist/react/view-transition.js.map +7 -0
- package/dist/scheduler/index.d.ts +44 -0
- package/dist/scheduler/index.js +109 -0
- package/dist/scheduler/index.js.map +7 -0
- package/dist/server/bootstrap-script.d.ts +3 -0
- package/dist/server/bootstrap-script.js +17 -0
- package/dist/server/bootstrap-script.js.map +7 -0
- package/dist/server/dispatcher.d.ts +57 -0
- package/dist/server/dispatcher.js +157 -0
- package/dist/server/dispatcher.js.map +7 -0
- package/dist/server/escape.d.ts +6 -0
- package/dist/server/escape.js +75 -0
- package/dist/server/escape.js.map +7 -0
- package/dist/server/index.d.ts +16 -0
- package/dist/server/index.js +25 -0
- package/dist/server/index.js.map +7 -0
- package/dist/server/insertion-context.d.ts +3 -0
- package/dist/server/insertion-context.js +32 -0
- package/dist/server/renderToString.d.ts +7 -0
- package/dist/server/renderToString.js +33 -0
- package/dist/server/renderToString.js.map +7 -0
- package/dist/server/resource-hints.d.ts +22 -0
- package/dist/server/resource-hints.js +168 -0
- package/dist/server/resource-hints.js.map +7 -0
- package/dist/server/stream-ids.d.ts +3 -0
- package/dist/server/stream-ids.js +8 -0
- package/dist/server/stream.d.ts +61 -0
- package/dist/server/stream.js +418 -0
- package/dist/server/stream.js.map +7 -0
- package/dist/server/walk.d.ts +58 -0
- package/dist/server/walk.js +378 -0
- package/dist/server/walk.js.map +7 -0
- package/dist/vinext/compatibility.d.ts +23 -0
- package/dist/vinext/compatibility.js +127 -0
- package/dist/vinext/compatibility.js.map +7 -0
- package/dist/vinext/flight-timing.d.ts +1 -0
- package/dist/vinext/flight-timing.js +46 -0
- package/dist/vinext/flight-timing.js.map +7 -0
- package/dist/vinext/index.d.ts +5 -0
- package/dist/vinext/index.js +50 -0
- package/dist/vinext/index.js.map +7 -0
- package/dist/vite/index.d.ts +102 -0
- package/dist/vite/index.js +291 -0
- package/dist/vite/index.js.map +7 -0
- package/dist/vite/react18.d.ts +4 -0
- package/dist/vite/react18.js +74 -0
- package/dist/vite/react18.js.map +7 -0
- package/package.json +113 -8
- package/src/cloudflare/index.ts +44 -0
- package/src/core/attributes.ts +20 -0
- package/src/core/browser.ts +34 -0
- package/src/core/class-props.ts +12 -0
- package/src/core/devtools.ts +69 -0
- package/src/core/functions.ts +11 -0
- package/src/core/index.ts +2 -0
- package/src/core/internal.ts +123 -0
- package/src/core/resource-hints.ts +39 -0
- package/src/core/types.ts +39 -0
- package/src/core/unitless-style.ts +1 -0
- package/src/dom/_all.ts +46 -0
- package/src/dom/client.ts +17 -0
- package/src/dom/commit.ts +223 -0
- package/src/dom/devtools-effects.ts +78 -0
- package/src/dom/devtools.ts +527 -0
- package/src/dom/dispatcher.ts +476 -0
- package/src/dom/document-metadata.ts +41 -0
- package/src/dom/dom.ts +181 -0
- package/src/dom/error-info.ts +20 -0
- package/src/dom/event-replay.ts +39 -0
- package/src/dom/features/activity/full.ts +150 -0
- package/src/dom/features/activity/index.ts +1 -0
- package/src/dom/features/activity/stub.ts +12 -0
- package/src/dom/features/class/full.ts +202 -0
- package/src/dom/features/class/index.ts +1 -0
- package/src/dom/features/class/stub.ts +58 -0
- package/src/dom/features/context/full.ts +107 -0
- package/src/dom/features/context/index.ts +1 -0
- package/src/dom/features/context/stub.ts +26 -0
- package/src/dom/features/forward-ref/full.ts +9 -0
- package/src/dom/features/forward-ref/index.ts +1 -0
- package/src/dom/features/forward-ref/stub.ts +15 -0
- package/src/dom/features/fragment-refs/index.ts +1 -0
- package/src/dom/features/fragment-refs/stub.ts +6 -0
- package/src/dom/features/hydration/full.ts +563 -0
- package/src/dom/features/hydration/index.ts +1 -0
- package/src/dom/features/hydration/stub.ts +86 -0
- package/src/dom/features/index.ts +12 -0
- package/src/dom/features/lazy/full.ts +27 -0
- package/src/dom/features/lazy/index.ts +1 -0
- package/src/dom/features/lazy/stub.ts +24 -0
- package/src/dom/features/memo/full.ts +39 -0
- package/src/dom/features/memo/index.ts +1 -0
- package/src/dom/features/memo/stub.ts +13 -0
- package/src/dom/features/portal/full.ts +14 -0
- package/src/dom/features/portal/index.ts +1 -0
- package/src/dom/features/portal/stub.ts +11 -0
- package/src/dom/features/suspense/full.ts +469 -0
- package/src/dom/features/suspense/index.ts +1 -0
- package/src/dom/features/suspense/stub.ts +13 -0
- package/src/dom/features/suspense-runtime/index.ts +1 -0
- package/src/dom/features/suspense-runtime/stub.ts +1 -0
- package/src/dom/features/view-transition/full.ts +292 -0
- package/src/dom/features/view-transition/index.ts +1 -0
- package/src/dom/features/view-transition/resources.ts +123 -0
- package/src/dom/features/view-transition/stub.ts +8 -0
- package/src/dom/features/view-transition/visual.ts +454 -0
- package/src/dom/form-actions.ts +69 -0
- package/src/dom/form-controls.ts +91 -0
- package/src/dom/fragment-instance.ts +462 -0
- package/src/dom/index.ts +49 -0
- package/src/dom/portal.ts +16 -0
- package/src/dom/react-ids.ts +36 -0
- package/src/dom/reconcile.ts +1423 -0
- package/src/dom/refresh.ts +171 -0
- package/src/dom/resource-hints.ts +104 -0
- package/src/dom/resource-store.ts +50 -0
- package/src/dom/resources.ts +47 -0
- package/src/dom/retained-effects.ts +57 -0
- package/src/dom/root-internal.ts +37 -0
- package/src/dom/root.ts +59 -0
- package/src/dom/synthetic-event.ts +22 -0
- package/src/dom/test-utils.ts +1 -0
- package/src/dom/transitions.ts +141 -0
- package/src/dom/tree.ts +56 -0
- package/src/dom/walk.ts +8 -0
- package/src/next/client.ts +10 -0
- package/src/next/dev-cache-loader.cjs +13 -0
- package/src/next/index.ts +95 -0
- package/src/next/loader.cjs +10 -0
- package/src/next/react.ts +7 -0
- package/src/react/act.ts +105 -0
- package/src/react/action-scope.ts +57 -0
- package/src/react/activity.ts +10 -0
- package/src/react/children.ts +86 -0
- package/src/react/class.ts +66 -0
- package/src/react/compiler-runtime.ts +8 -0
- package/src/react/context.ts +46 -0
- package/src/react/element.ts +82 -0
- package/src/react/form-state.ts +35 -0
- package/src/react/hooks.ts +214 -0
- package/src/react/index.ts +91 -0
- package/src/react/jsx-runtime.ts +50 -0
- package/src/react/memo.ts +42 -0
- package/src/react/portal.ts +1 -0
- package/src/react/shared-internals.ts +80 -0
- package/src/react/suspense.ts +18 -0
- package/src/react/thenable.ts +21 -0
- package/src/react/view-transition.ts +41 -0
- package/src/scheduler/index.ts +124 -0
- package/src/server/bootstrap-script.ts +92 -0
- package/src/server/dispatcher.ts +168 -0
- package/src/server/escape.ts +102 -0
- package/src/server/index.ts +26 -0
- package/src/server/insertion-context.ts +28 -0
- package/src/server/renderToString.ts +35 -0
- package/src/server/resource-hints.ts +166 -0
- package/src/server/stream-ids.ts +5 -0
- package/src/server/stream.ts +525 -0
- package/src/server/walk.ts +555 -0
- package/src/vinext/compatibility.ts +122 -0
- package/src/vinext/flight-timing.ts +37 -0
- package/src/vinext/index.ts +47 -0
- package/src/vite/index.ts +476 -0
- package/src/vite/react18.ts +74 -0
- package/vendor/cloudflare-vite-plugin/LICENSE +25 -0
- package/vendor/cloudflare-vite-plugin/README.md +9 -0
- package/vendor/cloudflare-vite-plugin/dist/chunk-U6NEESU5-BmLHqeIt.mjs +43 -0
- package/vendor/cloudflare-vite-plugin/dist/index.d.mts +155 -0
- package/vendor/cloudflare-vite-plugin/dist/index.mjs +94700 -0
- package/vendor/cloudflare-vite-plugin/dist/open-PCXX3ZDZ-DYH87NhH.mjs +530 -0
- package/vendor/cloudflare-vite-plugin/dist/package-4cnqy5mM.mjs +84 -0
- package/vendor/cloudflare-vite-plugin/dist/workers/asset-worker/index.js +5996 -0
- package/vendor/cloudflare-vite-plugin/dist/workers/router-worker/index.js +6414 -0
- package/vendor/cloudflare-vite-plugin/dist/workers/runner-worker/index.js +457 -0
- package/vendor/cloudflare-vite-plugin/dist/workers/runner-worker/module-runner-legacy.js +1129 -0
- package/vendor/cloudflare-vite-plugin/dist/workers/runner-worker/module-runner.js +1259 -0
- package/vendor/cloudflare-vite-plugin/dist/workers/vite-proxy-worker/index.js +31 -0
- package/vendor/cloudflare-vite-plugin/package.json +90 -0
- package/vendor/cloudflare-vite-plugin/provenance.json +26 -0
- package/README.md +0 -3
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
import { ReactSharedInternals } from '../../../react/shared-internals'
|
|
2
|
+
|
|
3
|
+
import { prepareViewTransition } from './visual'
|
|
4
|
+
|
|
5
|
+
import { recoverRootError } from '../../reconcile'
|
|
6
|
+
|
|
7
|
+
import { isFunction } from '../../../core/functions'
|
|
8
|
+
|
|
9
|
+
import { currentCommit, prepareCommit, commitBeforeMutation, commitMutation, commitSynchronously, type CommitPlan } from '../../commit'
|
|
10
|
+
|
|
11
|
+
import type { FiberRoot } from '../../../core'
|
|
12
|
+
|
|
13
|
+
type Work = { c: () => void; s: Set<Set<string>> }
|
|
14
|
+
type Visual = NonNullable<ReturnType<typeof prepareViewTransition>>
|
|
15
|
+
interface Transaction {
|
|
16
|
+
n?: ViewTransition
|
|
17
|
+
v: Visual
|
|
18
|
+
w: Map<FiberRoot, Work>
|
|
19
|
+
l: Array<() => void>
|
|
20
|
+
p: Array<() => void>
|
|
21
|
+
c: boolean
|
|
22
|
+
a: boolean
|
|
23
|
+
r: boolean
|
|
24
|
+
s: CommitPlan[]
|
|
25
|
+
f: boolean
|
|
26
|
+
}
|
|
27
|
+
interface Coordinator {
|
|
28
|
+
q: Map<FiberRoot, Work>
|
|
29
|
+
a?: Transaction | undefined
|
|
30
|
+
f: () => void
|
|
31
|
+
s: boolean
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const marks = new Map<FiberRoot, Set<Set<string>> | null>()
|
|
35
|
+
const documents = new Map<Document, Coordinator>()
|
|
36
|
+
let committing: Transaction | undefined
|
|
37
|
+
|
|
38
|
+
const ownerDocument = (root: FiberRoot): Document => ((root.c.ownerDocument || root.c) as Document)
|
|
39
|
+
|
|
40
|
+
export function deferTransitionPassive(work: () => void): boolean {
|
|
41
|
+
if (!committing) return false
|
|
42
|
+
committing.p.push(work)
|
|
43
|
+
return true
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
function render(work: Map<FiberRoot, Work>): void {
|
|
47
|
+
for (const entry of work.values()) entry.c()
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function cancel(coordinator: Coordinator): void {
|
|
51
|
+
const transaction = coordinator.a
|
|
52
|
+
const queued = coordinator.q
|
|
53
|
+
const root = queued.keys().next().value
|
|
54
|
+
const doc = transaction?.v.document ?? (root ? ownerDocument(root) : undefined)
|
|
55
|
+
coordinator.q = new Map()
|
|
56
|
+
if (transaction) {
|
|
57
|
+
if (!transaction.r) {
|
|
58
|
+
coordinator.a = undefined
|
|
59
|
+
transaction.a = true
|
|
60
|
+
transaction.n?.skipTransition()
|
|
61
|
+
try { transaction.v.cancel() } catch (error) { report(transaction, error) }
|
|
62
|
+
}
|
|
63
|
+
consume(transaction)
|
|
64
|
+
passive(transaction)
|
|
65
|
+
}
|
|
66
|
+
commitSynchronously(() => render(queued))
|
|
67
|
+
if (doc) release(doc, coordinator)
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function consume(transaction: Transaction): void {
|
|
71
|
+
transaction.c = true
|
|
72
|
+
within(transaction, () => {
|
|
73
|
+
beforeMutation(transaction)
|
|
74
|
+
mutation(transaction)
|
|
75
|
+
})
|
|
76
|
+
drain(transaction.l)
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function deferTransitionLayout(work: () => void): boolean {
|
|
80
|
+
if (!committing) return false
|
|
81
|
+
committing.l.push(work)
|
|
82
|
+
return true
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
function passive(transaction: Transaction): void {
|
|
86
|
+
if (transaction.c) transaction.v.restore()
|
|
87
|
+
drain(transaction.p)
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
function mutation(transaction: Transaction): void {
|
|
91
|
+
for (const plan of transaction.s) commitMutation(plan)
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function release(doc: Document, coordinator: Coordinator): void {
|
|
95
|
+
if (!coordinator.a && !coordinator.q.size && documents.get(doc) === coordinator) documents.delete(doc)
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function deferTransition(root: FiberRoot, commit: () => void, flush: () => void): boolean {
|
|
99
|
+
if (committing?.f && !currentCommit && ownerDocument(root) === committing.v.document) {
|
|
100
|
+
prepareRoot(committing, root, commit)
|
|
101
|
+
return true
|
|
102
|
+
}
|
|
103
|
+
if (!marks.size && !documents.size) return false
|
|
104
|
+
const scopes = marks.get(root)
|
|
105
|
+
marks.delete(root)
|
|
106
|
+
const doc = ownerDocument(root)
|
|
107
|
+
const activeCoordinator = documents.get(doc)
|
|
108
|
+
if (activeCoordinator?.a?.s.length && !activeCoordinator.a.c && !currentCommit) {
|
|
109
|
+
// A reentrant urgent render must consume the already-rendered commit
|
|
110
|
+
// before reconciling another tree against it.
|
|
111
|
+
if (committing || !scopes) cancel(activeCoordinator)
|
|
112
|
+
}
|
|
113
|
+
if (committing || !scopes || !doc.startViewTransition) return false
|
|
114
|
+
let coordinator = documents.get(doc)
|
|
115
|
+
if (!coordinator) {
|
|
116
|
+
coordinator = { q: new Map(), f: flush, s: false }
|
|
117
|
+
documents.set(doc, coordinator)
|
|
118
|
+
}
|
|
119
|
+
const existing = coordinator.q.get(root)
|
|
120
|
+
if (existing) for (const scope of scopes) existing.s.add(scope)
|
|
121
|
+
else coordinator.q.set(root, { c: commit, s: scopes })
|
|
122
|
+
kick(doc, coordinator)
|
|
123
|
+
return true
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function finish(doc: Document, coordinator: Coordinator, transaction: Transaction): void {
|
|
127
|
+
if (coordinator.a === transaction) coordinator.a = undefined
|
|
128
|
+
try { passive(transaction) } catch (error) { report(transaction, error) } finally {
|
|
129
|
+
try { transaction.v.finish() } catch (error) { report(transaction, error) } finally {
|
|
130
|
+
if (coordinator.q.size) kick(doc, coordinator)
|
|
131
|
+
else release(doc, coordinator)
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
const reportable = (error: unknown): boolean => (error !== null && !(error && typeof error === 'object' && 'name' in error && error.name === 'InvalidStateError' &&
|
|
137
|
+
'message' in error && (
|
|
138
|
+
error.message === 'View transition was skipped because document visibility state is hidden.' ||
|
|
139
|
+
error.message === 'Skipping view transition because document visibility state has become hidden.' ||
|
|
140
|
+
error.message === 'Skipping view transition because viewport size changed.' ||
|
|
141
|
+
error.message === 'Transition was aborted because of invalid state'
|
|
142
|
+
)))
|
|
143
|
+
|
|
144
|
+
function within(transaction: Transaction, work: () => void): void {
|
|
145
|
+
const previous = committing
|
|
146
|
+
committing = transaction
|
|
147
|
+
try { work() } finally { committing = previous }
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
function report(transaction: Transaction, error: unknown): void {
|
|
151
|
+
const root = transaction.w.keys().next().value
|
|
152
|
+
if (root?.ue) root.ue(error, { componentStack: null })
|
|
153
|
+
else queueMicrotask(() => { throw error })
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
function drain(queue: Array<() => void>): void {
|
|
157
|
+
while (queue.length) queue.shift()!()
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export function markTransitionUpdate(root: FiberRoot): void {
|
|
161
|
+
if (committing) return
|
|
162
|
+
const coordinator = documents.size ? documents.get(ownerDocument(root)) : undefined
|
|
163
|
+
if (coordinator?.a) passive(coordinator.a)
|
|
164
|
+
const scope = ReactSharedInternals.T
|
|
165
|
+
if (scope) {
|
|
166
|
+
if (marks.get(root) !== null) {
|
|
167
|
+
let scopes = marks.get(root)
|
|
168
|
+
if (!scopes) marks.set(root, scopes = new Set())
|
|
169
|
+
scopes.add(scope)
|
|
170
|
+
}
|
|
171
|
+
} else {
|
|
172
|
+
if (marks.has(root)) marks.set(root, null)
|
|
173
|
+
if (coordinator) cancel(coordinator)
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
function prepareRoot(transaction: Transaction, root: FiberRoot, commit: () => void): void {
|
|
178
|
+
try {
|
|
179
|
+
prepareCommit(() => {
|
|
180
|
+
transaction.s.push(currentCommit!)
|
|
181
|
+
commit()
|
|
182
|
+
})
|
|
183
|
+
} catch (error) {
|
|
184
|
+
transaction.s.pop()
|
|
185
|
+
if (!recoverRootError(error)) throw error
|
|
186
|
+
transaction.w.delete(root)
|
|
187
|
+
transaction.v.exclude(root)
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
function beforeMutation(transaction: Transaction): void {
|
|
192
|
+
for (const plan of transaction.s) commitBeforeMutation(plan)
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export function cancelTransitions(): void {
|
|
196
|
+
if (!marks.size && !documents.size) return
|
|
197
|
+
marks.clear()
|
|
198
|
+
for (const [doc, coordinator] of [...documents]) {
|
|
199
|
+
cancel(coordinator)
|
|
200
|
+
release(doc, coordinator)
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
function kick(doc: Document, coordinator: Coordinator): void {
|
|
205
|
+
if (coordinator.a || coordinator.s || !coordinator.q.size) return
|
|
206
|
+
coordinator.s = true
|
|
207
|
+
queueMicrotask(async () => {
|
|
208
|
+
coordinator.s = false
|
|
209
|
+
if (coordinator.a || !coordinator.q.size) return
|
|
210
|
+
const work = coordinator.q
|
|
211
|
+
coordinator.q = new Map()
|
|
212
|
+
const types = new Set<string>()
|
|
213
|
+
for (const entry of work.values()) for (const scope of entry.s) for (const type of scope) types.add(type)
|
|
214
|
+
const visual = prepareViewTransition(work.keys(), [...types])
|
|
215
|
+
if (!visual) {
|
|
216
|
+
commitSynchronously(() => render(work))
|
|
217
|
+
release(doc, coordinator)
|
|
218
|
+
return
|
|
219
|
+
}
|
|
220
|
+
const transaction: Transaction = { v: visual, w: work, l: [], p: [], s: [], f: true, c: false, a: false, r: false }
|
|
221
|
+
coordinator.a = transaction
|
|
222
|
+
try {
|
|
223
|
+
try {
|
|
224
|
+
within(transaction, () => {
|
|
225
|
+
for (const [root, entry] of work) prepareRoot(transaction, root, entry.c)
|
|
226
|
+
coordinator.f()
|
|
227
|
+
})
|
|
228
|
+
} finally { transaction.f = false }
|
|
229
|
+
const resources = visual.prepare()
|
|
230
|
+
if (resources) await resources
|
|
231
|
+
if (transaction.a) return
|
|
232
|
+
within(transaction, () => beforeMutation(transaction))
|
|
233
|
+
if (!visual.beforeCommit()) {
|
|
234
|
+
cancel(coordinator)
|
|
235
|
+
return
|
|
236
|
+
}
|
|
237
|
+
} catch (error) {
|
|
238
|
+
cancel(coordinator)
|
|
239
|
+
report(transaction, error)
|
|
240
|
+
return
|
|
241
|
+
}
|
|
242
|
+
const update = () => {
|
|
243
|
+
if (transaction.c) return
|
|
244
|
+
transaction.c = true
|
|
245
|
+
const navigation = (doc.defaultView as any)?.navigation?.transition
|
|
246
|
+
const fonts = doc.fonts
|
|
247
|
+
const wasLoaded = fonts?.status === 'loaded'
|
|
248
|
+
within(transaction, () => {
|
|
249
|
+
mutation(transaction)
|
|
250
|
+
coordinator.f()
|
|
251
|
+
})
|
|
252
|
+
const finishCommit = () => {
|
|
253
|
+
if (transaction.a) return
|
|
254
|
+
within(transaction, () => { drain(transaction.l); coordinator.f() })
|
|
255
|
+
if (navigation) return navigation.finished.catch(() => {}).then(() => {
|
|
256
|
+
if (!transaction.a) visual.afterCommit()
|
|
257
|
+
})
|
|
258
|
+
visual.afterCommit()
|
|
259
|
+
}
|
|
260
|
+
const resources = visual.waitForResources(!!wasLoaded)
|
|
261
|
+
if (resources) return resources.then(finishCommit)
|
|
262
|
+
return finishCommit()
|
|
263
|
+
}
|
|
264
|
+
try {
|
|
265
|
+
const native = transaction.n = doc.startViewTransition({ update, types: [...types] })
|
|
266
|
+
native.updateCallbackDone.catch(error => report(transaction, error))
|
|
267
|
+
native.ready.then(() => {
|
|
268
|
+
if (!transaction.a) {
|
|
269
|
+
transaction.r = true
|
|
270
|
+
try { visual.ready() } catch (error) { report(transaction, error) }
|
|
271
|
+
}
|
|
272
|
+
}, error => {
|
|
273
|
+
try {
|
|
274
|
+
if (!transaction.a && reportable(error)) {
|
|
275
|
+
const root = transaction.w.keys().next().value
|
|
276
|
+
if (root?.re) root.re(error, { componentStack: null })
|
|
277
|
+
else if (isFunction(reportError)) reportError(error)
|
|
278
|
+
else queueMicrotask(() => { throw error })
|
|
279
|
+
}
|
|
280
|
+
} finally {
|
|
281
|
+
transaction.a = true
|
|
282
|
+
try { visual.cancel() } finally { consume(transaction) }
|
|
283
|
+
}
|
|
284
|
+
})
|
|
285
|
+
native.finished.then(() => finish(doc, coordinator, transaction), () => finish(doc, coordinator, transaction))
|
|
286
|
+
} catch {
|
|
287
|
+
cancel(coordinator)
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export { markTransitionUpdate as m, deferTransition as d, cancelTransitions as c, deferTransitionLayout as l, deferTransitionPassive as p }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './full'
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { isFunction } from '../../../core/functions';
|
|
2
|
+
export type TransitionImages = Map<HTMLImageElement, {
|
|
3
|
+
src?: unknown;
|
|
4
|
+
srcSet?: unknown;
|
|
5
|
+
onLoad?: unknown;
|
|
6
|
+
loading?: unknown;
|
|
7
|
+
}>;
|
|
8
|
+
let imageBudget = 0;
|
|
9
|
+
const imageBytes = (image: HTMLImageElement): number => ((image.width || 100) * (image.height || 100) * (image.ownerDocument.defaultView?.devicePixelRatio || 1) * 0.25);
|
|
10
|
+
const staticResource = (type: string): boolean => (/^(css|script|font|img|image|input|link)$/.test(type));
|
|
11
|
+
// Match React's estimate from up to eleven groups of overlapping transfers,
|
|
12
|
+
// falling back to the browser's downlink estimate and then 5 Mbps.
|
|
13
|
+
function bandwidth(doc: Document): number {
|
|
14
|
+
const view = doc.defaultView!;
|
|
15
|
+
const entries = view.performance.getEntriesByType?.('resource') as PerformanceResourceTiming[] | undefined;
|
|
16
|
+
let count = 0, bits = 0;
|
|
17
|
+
for (let i = 0; entries && i < entries.length; i++) {
|
|
18
|
+
const entry = entries[i]!;
|
|
19
|
+
if (!entry.transferSize || !entry.duration || !staticResource(entry.initiatorType))
|
|
20
|
+
continue;
|
|
21
|
+
let overlap = 0;
|
|
22
|
+
for (++i; i < entries.length; i++) {
|
|
23
|
+
const next = entries[i]!;
|
|
24
|
+
if (next.startTime > entry.responseEnd)
|
|
25
|
+
break;
|
|
26
|
+
if (next.transferSize && staticResource(next.initiatorType)) {
|
|
27
|
+
overlap += next.transferSize * (next.responseEnd < entry.responseEnd ? 1 :
|
|
28
|
+
(entry.responseEnd - next.startTime) / (next.responseEnd - next.startTime));
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
i--;
|
|
32
|
+
bits += 8 * (entry.transferSize + overlap) / (entry.duration / 1000);
|
|
33
|
+
if (++count > 10)
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
if (count)
|
|
37
|
+
return bits / count / 1000000;
|
|
38
|
+
const downlink = (view.navigator as any).connection?.downlink;
|
|
39
|
+
return typeof downlink === 'number' ? downlink : 5;
|
|
40
|
+
}
|
|
41
|
+
export function transitionResources(doc: Document, previous: TransitionImages, next: TransitionImages) {
|
|
42
|
+
const pending: HTMLImageElement[] = [];
|
|
43
|
+
const releases = new Set<() => void>();
|
|
44
|
+
function wait(promises: Promise<unknown>[], timeout: number, cleanups: Array<() => void> = []): Promise<void> | undefined {
|
|
45
|
+
if (!promises.length)
|
|
46
|
+
return;
|
|
47
|
+
return new Promise(resolve => {
|
|
48
|
+
const finish = () => {
|
|
49
|
+
if (!releases.delete(finish))
|
|
50
|
+
return;
|
|
51
|
+
clearTimeout(timer);
|
|
52
|
+
for (const cleanup of cleanups)
|
|
53
|
+
cleanup();
|
|
54
|
+
resolve();
|
|
55
|
+
};
|
|
56
|
+
const timer = setTimeout(finish, timeout);
|
|
57
|
+
releases.add(finish);
|
|
58
|
+
Promise.all(promises).then(finish, finish);
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
before() {
|
|
63
|
+
const promises: Promise<unknown>[] = [];
|
|
64
|
+
let bytes = 0;
|
|
65
|
+
for (const [image, props] of next) {
|
|
66
|
+
const old = previous.get(image);
|
|
67
|
+
if (props.src == null || props.src === '' || props.onLoad != null || props.loading === 'lazy' ||
|
|
68
|
+
(old && props.src === old.src && props.srcSet === old.srcSet) || !isFunction(image.decode))
|
|
69
|
+
continue;
|
|
70
|
+
if (!image.complete) {
|
|
71
|
+
pending.push(image);
|
|
72
|
+
bytes += imageBytes(image);
|
|
73
|
+
}
|
|
74
|
+
promises.push(image.decode().catch(() => { }));
|
|
75
|
+
}
|
|
76
|
+
if (bytes && !imageBudget)
|
|
77
|
+
imageBudget = 125 * bandwidth(doc) * 500;
|
|
78
|
+
return wait(promises, bytes > imageBudget ? 50 : 800);
|
|
79
|
+
},
|
|
80
|
+
after(fontsWereLoaded: boolean) {
|
|
81
|
+
const promises: Promise<unknown>[] = [];
|
|
82
|
+
const cleanups: Array<() => void> = [];
|
|
83
|
+
if (fontsWereLoaded) {
|
|
84
|
+
// Discover fonts introduced by mutation before the browser captures.
|
|
85
|
+
doc.documentElement.getBoundingClientRect();
|
|
86
|
+
if (doc.fonts.status === 'loading')
|
|
87
|
+
promises.push(doc.fonts.ready);
|
|
88
|
+
}
|
|
89
|
+
const images: HTMLImageElement[] = [];
|
|
90
|
+
let bytes = 0;
|
|
91
|
+
const view = doc.defaultView!;
|
|
92
|
+
for (const image of pending) {
|
|
93
|
+
if (image.complete)
|
|
94
|
+
continue;
|
|
95
|
+
const rect = image.getBoundingClientRect();
|
|
96
|
+
if (rect.bottom <= 0 || rect.right <= 0 || rect.top >= view.innerHeight || rect.left >= view.innerWidth)
|
|
97
|
+
continue;
|
|
98
|
+
bytes += imageBytes(image);
|
|
99
|
+
if (bytes > imageBudget) {
|
|
100
|
+
images.length = 0;
|
|
101
|
+
break;
|
|
102
|
+
}
|
|
103
|
+
images.push(image);
|
|
104
|
+
}
|
|
105
|
+
for (const image of images) {
|
|
106
|
+
promises.push(new Promise<void>(resolve => {
|
|
107
|
+
const loaded = () => resolve();
|
|
108
|
+
image.addEventListener('load', loaded);
|
|
109
|
+
image.addEventListener('error', loaded);
|
|
110
|
+
cleanups.push(() => {
|
|
111
|
+
image.removeEventListener('load', loaded);
|
|
112
|
+
image.removeEventListener('error', loaded);
|
|
113
|
+
});
|
|
114
|
+
}));
|
|
115
|
+
}
|
|
116
|
+
return wait(promises, 500, cleanups);
|
|
117
|
+
},
|
|
118
|
+
cancel() {
|
|
119
|
+
for (const release of releases)
|
|
120
|
+
release();
|
|
121
|
+
},
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export const m = undefined, d = undefined, c = undefined, l = undefined, p = undefined
|
|
2
|
+
import type { FiberRoot } from '../../../core'
|
|
3
|
+
|
|
4
|
+
export function markTransitionUpdate(_root: FiberRoot): void {}
|
|
5
|
+
export const deferTransition: (_root: FiberRoot, _commit: () => void, _flush: () => void) => boolean = () => false
|
|
6
|
+
export function cancelTransitions(): void {}
|
|
7
|
+
export const deferTransitionLayout: (_work: () => void) => boolean = () => false
|
|
8
|
+
export const deferTransitionPassive: (_work: () => void) => boolean = () => false
|